Quick shortcut to dismiss notifications in Gnome 3?

I have been using Super+M to access the notifications area then Tab followed by Space to cancel/dismiss notifications.

Is there a "quicker" shortcut (i.e. more direct/immediate action)?


Solution 1:

Super+N to focus the currently displayed notification followed by Esc works for me.

Solution 2:

A small hack..
Run the below command in terminal or create a shortcut with the below command.

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'Main.panel.statusArea.dateMenu._messageList._notificationSection._list.remove_all_children()'

enter image description here

Solution 3:

If you want to disable notifications:

  1. Open the Activities overview and start typing Notifications and click on Notifications to open the panel.
  2. Switch the toggle to OFF.

You can press Super+V to open the notifications tray/calendar.

Notifications will still be available in the message tray when you display it, by clicking on the clock, or by pressing Super + M, and they will start popping up again when you switch the toggle to ON again.