KDE Plasma notifications from cron
by stormtracknole from LinuxQuestions.org on (#5FMT7)
Greetings!
I am running into an issue with running a cron that uses notify-send. This scripts works on Gnome and XFCE. For whatever reason, I cannot get it to work on KDE Plasma (-current 5.21.3). From what I have been able to research, it seems to be related to DBUS_SESSION_BUS_ADDRESS not being set. I have tried all sorts of different variations to no avail. Even setting the DISPLAY value doesn't seem to work.
Any thoughts as to what else I am missing? Thanks!


I am running into an issue with running a cron that uses notify-send. This scripts works on Gnome and XFCE. For whatever reason, I cannot get it to work on KDE Plasma (-current 5.21.3). From what I have been able to research, it seems to be related to DBUS_SESSION_BUS_ADDRESS not being set. I have tried all sorts of different variations to no avail. Even setting the DISPLAY value doesn't seem to work.
Any thoughts as to what else I am missing? Thanks!