
In dwm and similar window managers, it's common to often have empty tags, and navigate to them with the intent to create clients there. If I navigate to one of those empty tags with a dunst notification visible and follow=keyboard set, the notification warps over to the default screen. If I then open a client, it then warps back, which is pretty jarring. This is mostly an artefact of the implementation of follow=keyboard -- if we fail to get a focused window, we use the default screen. However this case isn't necessarily really a "failure" on window managers like dwm where it's a common occurrence to end up with no clients on the screen, whereas that would be significantly rarer on (say) GNOME or KDE. A guess that's more likely to fit user expectations is falling back to where the mouse pointer currently is, since this indicates the currently focused monitor that the window manager would create a client on. This avoids warping back to that monitor again when a client is created.
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
- libnotify (for dunstify only)
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
)BINDIR=<PATH>
: Set thedunst
executable's path (Default:${PREFIX}/bin
)DATADIR=<PATH>
: Set the path for shared files. (Default:${PREFIX}/share
)MANDIR=<PATH>
: Set the prefix of the manpage. (Default:${DATADIR}/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.