Forrest logo
back to the dunstctl tool

dunstctl:tldr:caefd

dunstctl: Close all notifications.
$ dunstctl close-all
try on your machine

The command "dunstctl close-all" is used to close all the active notifications displayed by the Dunst notification daemon.

Dunst is a lightweight notification daemon for Linux desktop environments. It manages and displays pop-up notifications on the desktop for various events like new emails, system updates, calendar reminders, etc. These notifications can accumulate over time, and the "close-all" command allows you to remove them all at once.

By running "dunstctl close-all", you send a signal to the Dunst daemon telling it to close all the currently active notifications. This can be useful when you want to clear your notification history or if you have a large number of notifications cluttering your screen that you want to dismiss quickly.

Once executed, any notifications currently displayed will be removed from the screen, and the notification history will be cleared.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dunstctl tool