-
Notifications
You must be signed in to change notification settings - Fork 343
Installation
Dunst is available in many package repositories. Chances are you can simply install it with your package manager. If not, don't worry, it's not hard to build it yourself.
Dunst comes with it's own script for sending notifications, dunstify
. This will probably be installed together with dunst. You might find it useful, however, to use a standard tool for that job. If so, install notify-send
. It can't do everything that dunstify can, but it will work for most things.
After you have installed all the dependencies needed, you can build dunst:
# clone the repository
git clone https://github.com/dunst-project/dunst.git
cd dunst
# compile and install
make
sudo make install
On Debian systems the preferred method to install is to use checkinstall instead of sudo make install
PREFIX=/usr checkinstall # Prefix is necessary to systemctl service installation
sudo dpkg -i dunst_*_amd64.deb # Install generated .deb
Dunstify is enabled by default. To build without dunstify set DUNSTIFY
to 0
.
# This builds without dunstify
DUNSTIFY=0 make all
To install dunstify you can simply use make install
(given that it was not disabled).