After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 599203 - Add an option to disable notifications on connect / disconnect
Add an option to disable notifications on connect / disconnect
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2009-10-21 15:03 UTC by Bram Neijt
Modified: 2010-01-06 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bram Neijt 2009-10-21 15:03:56 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.
Comment 1 Dan Williams 2009-10-21 21:46:45 UTC
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 ***
Comment 2 Bram Neijt 2009-10-21 22:59:20 UTC
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 ;)
Comment 3 Bram Neijt 2009-10-22 12:46:45 UTC
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).
Comment 4 Bram Neijt 2009-10-22 16:44:49 UTC
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.
Comment 5 Bram Neijt 2010-01-06 17:59:54 UTC
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.