
I'm not sure whether this case can happen in the wild, but if artifically exercising the condition, I noticed it behaves poorly. Specifically: * The error_name parameter must be a valid D-Bus error name. It seems conventional to set this to "org.freedesktop.Notifications.Error". Without this change, the following error is thrown: CRITICAL: g_dbus_method_invocation_return_dbus_error: assertion 'error_name != NULL && g_dbus_is_name (error_name)' failed * Previously execution would continue even though the notification did not decode, causing essentially a null pointer exception later. Adds a return for this case. * With those two things fixed, this case seems relatively silent - "notify-send" invocations succeed even if the condition for the if is "true". So, I added a warning log to indicate that this case is occurring
Dunst
Description
Dunst is a highly configurable and lightweight notification daemon.
Installation
Dependencies
Dunst has a number of build dependencies that must be present before attempting configuration. The names are different depending on distribution:
- dbus
- libxinerama
- libxrandr
- libxss
- glib
- pango/cairo
- libgtk-3-dev
Building
git clone https://github.com/dunst-project/dunst.git
cd dunst
make
sudo make install
Make parameters
PREFIX=<PATH>
: Set the prefix of the installation. (Default:/usr/local
)MANPREFIX=<PATH>
: Set the prefix of the manpage. (Default:${PREFIX}/share/man
)SYSTEMD=(0|1)
: Enable/Disable the systemd unit. (Default: detected viapkg-config
)SERVICEDIR_SYSTEMD=<PATH>
: The path to put the systemd user service file. Unused, ifSYSTEMD=0
. (Default: detected viapkg-config
)SERVICEDIR_DBUS=<PATH>
: The path to put the dbus service file. (Default: detected viapkg-config
)
Make sure to run all make calls with the same parameter set. So when building with make PREFIX=/usr
, you have to install it with make PREFIX=/usr install
, too.
Checkout the wiki for more information.
Bug reports
Please use the issue tracker provided by GitHub to send us bug reports or feature requests. You can also join us on the IRC channel #dunst
on Freenode.
Maintainers
Author
written by Sascha Kruse dunst@knopwob.de
Copyright
copyright 2013 Sascha Kruse and contributors (see LICENSE
for licensing information)
If you feel that copyrights are violated, please send me an email.