Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I receive mails via Thunderbird (with extensions FireTray and GNOME Integration) and want to display the "New mail notification" a bit longer.

How can I increase the length of time notifications are displayed in Gnome 3.4.2?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

By default, NOTIFICATION_TIMEOUT is set to 4 seconds in gnome-shell ui files, namely

/usr/share/gnome-shell/js/ui/messageTray.js

so changing the timeout is only a matter of editing that file, specifically this line:

const NOTIFICATION_TIMEOUT = 4;

and replacing the default value (4) with whatever suits you.
Restart shell with Alt+F2 , r for the changes to take effect.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.