Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

my problem is that when I insert a drive (HDD partition, DVD etc.) a notification appears, which has a unlimited duration.

Clicking somewhere (except the options) will close this notification, but it is bothersome that I always have to use the mouse.

Is there a way to close these notifications with the keyboard or to set a duration?

share|improve this question
    
When I mount a volume, I want nautilus to open it, which works by default. But these notifications still appear. I don't really mind them, but I'd like to be able to close them via keyboard. When inserting a DVD or something like that it is okay for them to appear, but when I just mount them the notifications are useless... So I'd at least like to also be able to close these notifications with the keyboard and not only with the mouse... –  hakaishi Mar 31 '12 at 11:18
add comment

2 Answers

I don't have an answer to closing it with the keyboard but if you edit the /usr/share/gnome-shell/js/ui/autorunManager.js and change the line

this.setUrgency(MessageTray.Urgency.CRITICAL);

to

this.setUrgency(MessageTray.Urgency.NORMAL);

It will only pop up for a few seconds and then disappear. You will still have the Icon in the panel, it will just not bug you down below.

share|improve this answer
add comment

Use Esc Key. It works for most of the pop-up dialogues:)

share|improve this answer
    
This isn't a dialog though, and Escape doesn't make it go away –  Croad Langshan Dec 12 '13 at 20:31
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.