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.

Is there a way you can disable or customize the notification bubbles on Lucid?

alt text

share|improve this question

7 Answers 7

Yes you can, using a tool called Notify OSD Configuration.

If you want to disable them rename the file

sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service{,.disabled}

To re-enable:

sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service{.disabled,}

You need to restart your computer after either one of these changes for them to take effect.

share|improve this answer
This tool presume that you patch your original notify ost libraries, and you cannot disable them. I wouldn't recommend this. –  OpenNingia Nov 16 '10 at 12:46
@OpenNingia, using a patched NotifyOSD is necessary because the default doesn't allow any configuration. Edited my answer to show how to disable them entirely. –  Alvin Row Nov 16 '10 at 18:04
This didn't work for me on Ubuntu 12.04. I executed your first command and then promptly received a notification seconds later from Spotify. –  Kamil Slowikowski May 30 '14 at 2:11
@KamilSlowikowski , you may need to reboot –  Ace Nov 6 '14 at 0:14

To alter these settings, install gconf-editor from the software-center.

Scroll to / ▸ apps ▸ nm-applet and check disable-connected-notifications and disable-disconnected-notifications settings there. Check the attached image for clarifications.

enter image description here

As For the VLC, you need to visit VLC Preferences (Press Ctrl + P, or access it from tools Menu)

And Disable SysTray Popup when Minimized (Hover the move over that option and read the descripton)

enter image description here

share|improve this answer
I was searching how to turn them off in vlc. Thanks! –  s3v3n Apr 24 '14 at 10:09
me too! Thanks! –  Anwar Shah Feb 17 at 15:32

You can also turn off particular notification.To turn off pidgin notification,Open pidgin-->Tools--->Plugins

Uncheck libnotify popups there..

alt text

To turn off notify-osd notifications,type the following in terminal and restart your system.

sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled

To disable rythmbox song pop up notification:

Go to:

Edit -> Plugins

and uncheck the Status Icon plugin.

Another way:

Edit --> Plugins

Select Status Icon, click the configure button

Choose the never shown option for notifications.

share|improve this answer
Thanks. However, the one piece of software I would really want to disable notifications for is Banshee, but there doesn't seem to be any options for that at all, unless I'm really missing something. –  Mussnoon Nov 18 '10 at 16:07

To disable the Notification bubbles you can remove the 'Notification Area' item from the panel. Just right click on the notification area item and select 'Remove From Panel'.

UPDATE: The Notification Area will be no more from Ubuntu 11.04

share|improve this answer
I don't want to get rid of the notification area entirely, but only the bubbles. –  Mussnoon Nov 16 '10 at 6:31

The question

How to turn off the pop up notification in 12.04?

was redirected here but this question's context is framed for lucid 10.04 which uses notification-daemon and not Pangolin 12.04 which uses notify-osd (On Screen Display) to make pop-up bubbles.

This can be seen in the 12.04 system file (NB 10.04 predates this):


with notifying content uniquely specific to either the Unity or Gnome default interface:

[D-BUS Service]
Exec=/bin/sh -c 'if
     [ ! -x /usr/lib/notification-daemon/notification-daemon ] ||
     [ "$GDMSESSION" = guest-restricted ] ||
     [ "$GDMSESSION" = gnome-classic-guest-restricted ]
     [ "$GDMSESSION" = default -a
          "$(basename `readlink /etc/alternatives/x-session-manager`)" =
                gnome-session ] ||
     [ "$GDMSESSION" = ubuntu ] ||
     [ "$GDMSESSION" = ubuntu-2d ];
  then exec /usr/lib/notify-osd/notify-osd;
  else exec /usr/lib/notification-daemon/notification-daemon; fi'

What follows is explicitly for the 12.04 redirected question.

The complete stack of pending notifications can be disabled and cleared using a terminal window
(Ctrl+Alt+T) and entering

killall notify-osd

after which notifications resume.

To disable for an arbitrary length of time use:

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

This crude solution can be stopped by closing the terminal window or typing Ctrl+C.

Change "member=Notify" to customize the desired selection of notifications for purging.

For more control see:
Can org.freedesktop.Notifications.CloseNotification(uint id) be triggered and invoked via DBus?

Other techniques are documented in the references.


share|improve this answer

go to package manager and remove pop-up notification ;; it will auto install another that the system needs .BUT will not show a pop-up window when a new song comes on . did this to mine mint 16 mate.

share|improve this answer

This script toggles the notify-osd notifications: (inspired by http://askubuntu.com/a/35840/17940)

$ cat toggle-notify.sh

# Disable libnotify notification bubbles that appear in the top-right corner
# of your screen. Works on Ubuntu 12.04.
if [ -e $disabled ]
  echo "Enabled notify-osd"
  sudo chmod +x /usr/lib/notify-osd/notify-osd
  rm -f $disabled
  echo "Disabled notify-osd"
  sudo chmod -x /usr/lib/notify-osd/notify-osd
  killall notify-osd 2>/dev/null
  touch $disabled

It works on:

  • Ubuntu 12.04
  • Ubuntu 14.04

Make it executable and run it:

$ chmod +x toggle-notify.sh

$ ./toggle-notify.sh 
Disabled notify-osd

Keyboard shortcut

You can bind a keyboard shortcut to this script:

$ mkdir ~/bin
$ mv toggle-notify.sh ~/bin
$ export PATH="$HOME/bin:$PATH"

enter image description here

share|improve this answer

Your Answer


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.