GNOME Bugzilla – Bug 599203
Add an option to disable notifications on connect / disconnect
Last modified: 2010-01-06 17:59:54 UTC
I would like an option to disable the "connected" and "disconnected" messages from the nm-applet. I have never seen a reason for them, as the status icon already shows the connection status at any moment in time you might want to look at it.
While there isn't a UI checkbox for this (distros should decide their own default desired behavior) you can do this with GConf: gconftool-2 --set --type boolean /apps/nm-applet/disable-connected-notifications false gconftool-2 --set --type boolean /apps/nm-applet/disable-disconnected-notifications false gconftool-2 --set --type boolean /apps/nm-applet/suppress-wireless-networks-available true *** This bug has been marked as a duplicate of bug 592605 ***
At first I blindly copied what you wrote and found out that it didn't work. But reading it, I thought the first 2 should be true instead of false. However, I changed it to: gconftool-2 --set --type boolean /apps/nm-applet/disable-connected-notifications true gconftool-2 --set --type boolean /apps/nm-applet/disable-disconnected-notifications true gconftool-2 --set --type boolean /apps/nm-applet/suppress-wireless-networks-available true That did not change it immediately, so I did: killall nm-applet nm-applet And after that verified with gconf-editor that the variables are set as above. Still, the notifications are there. Could you please write the lines again and also mention the change I can expect? Thank you! PS As a user I want to be able to decide, whatever the distro people think I need ;)
A reboot seems to have fixed it, so I can confirm that all of the variables need to be set to "true" for this to work. Just for the record: gconftool-2 --set --type boolean /apps/nm-applet/disable-connected-notifications true gconftool-2 --set --type boolean /apps/nm-applet/disable-disconnected-notifications true gconftool-2 --set --type boolean /apps/nm-applet/suppress-wireless-networks-available true Then reboot to make sure the settings take effect (for some reason killall nm-applet and then restarting it didn't seem to work for me).
Well, just got a disconnect notification. I then checked the options with the gconf-editor and they where still as described above. It does not seem to be working. Please consider giving me a new solution and what to expect.
Found the source of the disconnect notification: an Ubuntu specific patch is not honoring the gconf settings! lp341684_device_sensitive_disconnect_notify.patch introduces extra notifications. I'm moving this bug upstream.