1

How can I disable all popup notifications in Gnome 3.20.4?

I'm on Ubuntu 16.10 (64bit).

I have tried selecting "off" in the "Notification Banners"; that didn't work.

I also manually switched each application to "off", that also didn't work.

didn't work

I still get these popups, which I really don't like:

enter image description here

How can I make these popup go away?

1 Answer 1

3

Install dconf-editor, run it, and go to

org.gnome.desktop.notifications

here is a large string there that has all the applications that will receive the gnome notification. If the app has its own notifications you can enable them in the app and disable the system notification.


I had to go into /usr/share/gnome-shell/js/ui/components/autrunManager.js and comment out the following line:

Main.messageTray.add(this);

For me it was on line 546, but who knows how it scoots around in other versions of gnome (cause it's constantly changing).

If the above methods do not work the try this out. but don't delete the line as suggested in answer just comment (#) it.

5
  • Thank you for the attempt. Unfortunately, none of these solutions worked for me. All show as "false" in dconf-editor, that .js file doesn't exist on my computer (or anything like it in that tree that I could find), and the link you provided also doesn't work. :-(
    – JoshuaD
    Apr 29, 2017 at 0:43
  • Can you update your question with gnome version? I'll try to research more Apr 29, 2017 at 2:59
  • 1
    @JoshuaD how foolish of me, it was already written in question,. Apr 29, 2017 at 3:44
  • Don't sweat it! I appreciate the help. <3
    – JoshuaD
    Apr 29, 2017 at 3:46
  • Moreover, on the key application-children: gsettings get org.gnome.desktop.notifications application-children Jan 24, 2020 at 3:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .