When attempting to display any notification with notify-send
I get:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
I also noticed that $HOME/.dbus/
disappeared. It was working beforealthough I use notify-send
only via scripts that are run by cron
. I have DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
in my crontab
. notify-send
is to notify me only in case of an emergency - and there was none as far as I know.I update my Ubuntu Desktop 22.04 LTS with apt
every twelvehours, could such update be responsible for the issue?I have libnotify-bin
installed. I've found people describing a similar issue but am hesitant to apply their fix as I do not know much about dbus
and freedesktop
.
How should I resolve this issue?