Ubuntu – How to deactivate the “network disconnected” popup


We have network problems at our company and the network is often disconnected. At each disconnection Ubuntu (12.04) displays a pop-up in the right corner of the screen to inform me of this event. This is really annoying when it comes very often. How do I deactivate this?

enter image description here

Best Answer

In 12.04, you should be able to toggle that behaviour via the gconf database entry for nm-applet, using the gconftool (or gconftool-2) command

gconftool --set /apps/nm-applet/disable-disconnected-notifications --type bool true

You will likely want to disable the corresponding connected notification as well

gconftool --set /apps/nm-applet/disable-connected-notifications --type bool true

You can check the current settings using

gconftool -a /apps/nm-applet

For those seeking an answer for later versions of Ubuntu, @Jos has confirmed that in 14.04 the settings have been migrated to the main dconf database at /org/gnome/nm-applet and can be toggled using the GUI dconf-editor tool. Modification via the CLI should be possible using gsettings.