Skip to content

HowTo: Use Dunst to view notifications

Roman Grytskiv edited this page Mar 21, 2020 · 3 revisions

By default gnome-flashback handles receiving and rendering notifications. If you desire more control over the notification UI, dunst provides more options.

  1. Install dunst:
$ sudo apt install dunst
$ mkdir -p ~/.config/dunst
$ cp /etc/xdg/dunst/dunstrc ~/.config/dunst/

alternatively, in Ubuntu

sudo apt install dunst
  1. (for Regolith <1.3) Disable the notification subsystem in gnome-flashback:
$ gsettings set org.gnome.gnome-flashback notifications false
  1. (for Regolith 1.3) Replace Rofication with dunst. In the i3 config file, replace the line
exec --no-startup-id /usr/share/rofication/rofication-daemon.py

with

exec --no-startup-id /usr/bin/dunst

to start dunst during login.

Also, remove the dunst icon in the bar by making a custom config of i3xrocks and removing the Rofication section.

  1. Test dunst:
$ notify-send "this is a test"

You'll notice that the default look of dunst is pretty basic. Have a look at your dunst configuration file at ~/.config/dunst/dunstrc to make changes.

Clone this wiki locally