How to close notifications with the keyboard?
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?
Solution 1:
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.