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.

I have an application that went completely crazy and sent (it seems like) hundreds of notifications to the notification daemon. Now I've been getting notification bubbles for the last few minutes and it is getting annoying.

How can I make them stop without logging off or rebooting?

share|improve this question
    
Yeah, i get that all the time. –  jrg Jun 25 '12 at 17:52

2 Answers 2

up vote 13 down vote accepted

I have a .desktop file that I use to kill the notifications.

[Desktop Entry]
Name=Notify Kill
Comment=Kill those pesky notifications!
Exec=killall notify-osd
Icon=utilities-terminal
Type=Application
StartupNotify=true
OnlyShowIn=GNOME;Unity;

Toss that as notify-kill.desktop in ~/.local/share/applications, wait a minute and it will pop up in your Unity dash.

To use, just open the dash and search for kill or notify, and it will clear your notifications!

share|improve this answer
    
Excellent - that's a very clever way of doing it. I'm also glad I'm not the only one doing it :P –  Nathan Osman Jun 25 '12 at 18:10

This solution eliminates all OSD notifications (on screen display noise) is quoted from:
Close button on notify-osd?

dbus-monitor "interface='org.freedesktop.Notifications'" |             \
grep --line-buffered "member=Notify"                     |             \
sed -u -e  's/.*/killall notify-osd/g'                   |             \
bash

This can be run in a terminal or as a background task - stop it and pop-up graffiti resumes.

To run it, copy and paste it into a terminal window (opened via ctrl+alt+T). Close the window or type type ctrl+C to stop it.

cross refs.:

share|improve this answer

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.