Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Recently Gmail introduced an HTML5-based desktop notification feature for Google Chrome users (see this). It's very useful, however, the notifications disappear too quickly (in about 5 seconds) and I couldn't find a way to change the display time. Ideally, I would like the notification to stay for a few minutes if there is no user activity (or about 15 seconds if there is user activity). Is that possible?

Desktop Notification

share|improve this question

Tip: in your Gmail settings choose "Mail notifications off".

Instead, install the Chrome extension Mail Checker Plus for Google Mail which gives you the option to set 'show time' for notifications.

Also, this extension shows more elaborate notifications, has a "Sound notifications" option, and a few other interesting settings.

share|improve this answer

I found that the webkit desktop notification API call displays the notification indefinitely. Check this out for an example. Gmail probably have done something like this - using setTimeout() with Notification.close() to hide the notification after a few seconds. So, it is impossible to configure Chrome to prolong the notification display time.

share|improve this answer

Apparently not (well, not yet anyway):

From the "Learn more" link:

  1. Click the Settings link in the upper-right corner of Gmail.
  2. On the General tab, select the option you'd like in the Desktop Notifications section. You'll be able to turn Chat notifications on or off, and can also choose to turn email notifications off, receive notifications for all incoming email, or only those Gmail marks 'important'.
  3. Click Save.

And then on the Settings page on my Gmail account, I don't see anything about time to display. It's just this:

  • New mail notifications on - Notify me when any new message arrives in my inbox
  • Important mail notifications on - Notify me only when an important message arrives in my inbox
  • Mail notifications off
share|improve this answer
Yea, that's what I found too. Hopefully they'll improve this in the next release. Thanks. (BTW, it looks like Chrome 9 has already been delayed by 1/3 of a development cycle...) – netvope Jan 28 '11 at 1:52
Taught me something new. I like Google's release early, release often cycles. It means we can expect new features with each release. – user3463 Jan 28 '11 at 3:00
Well, it's a year and a half later and I still can't find a way of controlling the timing of notifications. They're so fleeting that they're next to useless right now. Frustrating. – Charles Roper Jun 27 '12 at 13:28

When the notification appears, there is a setting icon in the box that allows you to set what corner the notification will appear in and for how long. When opening Chrome or Gmail in Chrome be ready to click it before it disappears.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .