I installed i3 alongside unity but now I see the i3 notification box while on unity.
How can I change this back to the unity one without removing i3? The other solutions to this problem seem to be removing the other WM/DE
I installed i3 alongside unity but now I see the i3 notification box while on unity.
How can I change this back to the unity one without removing i3? The other solutions to this problem seem to be removing the other WM/DE
For me this worked, I'm running Ubuntu 16.04
run the following commands withsudo
create a file /usr/bin/user_notify and write
the following text to the file.
#!/bin/bash
set -euo pipefail
if pgrep -x i3 >/dev/null ; then
/usr/bin/dunst
else
/usr/lib/x86_64-linux-gnu/notify-osd
fi
make the file executable by running chmod a+x /usr/bin/user_notify
open the file /usr/share/dbus-1/services/org.knopwob.dunst.service
and replace Exec=/usr/bin/dunst by Exec=/usr/bin/user_notify
Remark To use the standard unity notifier (also in i3) just
replace Exec=/usr/bin/dunst by Exec=/usr/lib/x86_64-linux-gnu/notify-osd
in the file /usr/share/dbus-1/services/org.knopwob.dunst.service.
For me, inspired by the other answers, sudo apt remove dunst and logging out and in again was sufficient.