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.

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

share|improve this question

2 Answers 2

up vote 16 down vote accepted

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.

share|improve this answer
    
As I will not see the popup again, I will trust your answer. Thanks. See you. –  COil Jul 9 at 12:33

You can change it with gsettings:-

gsettings offers a simple commandline interface to GSettings. It lets you get, set or monitor an individual key for changes.

  • To get current setting, run following command:

    gsettings get org.gnome.nm-applet disable-disconnected-notifications
    
  • To set (Enable) of disabling disconnected-notifications, run following command:

    gsettings set org.gnome.nm-applet disable-disconnected-notifications true
    

However you can grep all settings for all available notifications by gsettings as follows:

gsettings list-recursively | grep "notifications"

& specifically for schema = org.gnome.nm-applet,

gsettings list-recursively org.gnome.nm-applet
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.