12.04 - How do I re-enable disabled network notifications in GNOME Shell?

  • audrianore

    I'm using Ubuntu 12.04 LTS.
    I recently disabled (accidentally pressed "don't show again" button) some network notification on GNOME Shell. There are (as I can remember):

    1. "GSM Network - You are now registered on the home network"
    2. "<Network Profile> - Connection established"

    Now both on Unity and GNOME Shell, those notifications didn't showed up, and it felt just wrong. What can I do to re-enable those disabled notifications? Thanks.

  • Answers
  • jokerdino

    12.10 - Dconf

    Run these commands:

    gsettings set org.gnome.nm-applet disable-disconnected-notifications "false"
    gsettings set org.gnome.nm-applet disable-connected-notifications "false"

    Or open dconf-editor Install dconf-tools and scroll down to orggnomenm-applet and uncheck disable-connected-notifications and disable-disconnected-notifications settings there.


    11.10 and 12.04 - Gconf

    gconf-editor Install gconf-editor lets you edit the network manager notifications.

    Scroll to / ▸ apps ▸ nm-applet and uncheck disable-connected-notifications settings there.


    Or the command line method:

    gconftool -s /apps/nm-applet/disable-disconnected-notifications --type=bool false
    gconftool -s /apps/nm-applet/disable-connected-notifications --type=bool false
  • Peachy

    GNOME is transitioning to dconf instead, edit with dconf-editor from apt package dconf-tools. Settings for nm-applet are at /org/gnome/nm-applet.

  • Related Question

    11.10 - How can I configure Gnome Shell Notification settings?
  • sHellboy

    I couldn't find where I can change Gnome Shell notification settings. I clicked the button that appears with "Don't Show Again" (or something like that) label on a notification, and now when that notification appears, it never disappears until I click on that.

    Where is the configuration window of Gnome Shell notifications?

  • Related Answers
  • bodhi.zazen

    There is no way to easily configure gnome-shell notifications as of yet. You can disable them or configure them to time out.

    dconf-editor allows you to configure some settings

    sudo apt-get install dconf-editor

    You can also modify notify-send so the messages are transient.

    # Move the current script to a backup location
    sudo mv /usr/bin/notify-send /usr/bin/notify-send.bak

    Now, use gedit for a new wrapper script

    gksu gedit /usr/bin/notify-send

    copy-paste this into that file

    /usr/bin/notify-send --hint int:transient:1 "$@"

    Save the script , exit gedit, and make it executable

    sudo chmod a+x /usr/bin/notify-send

    See also this forums post for addition suggestions.