8 Oct
2014
8 Oct
'14
10:18
* Jan Engelhardt
On Wednesday 2014-10-08 10:50, Guido Berhoerster wrote:
I have smartd configured to execute a script that creates a warning message via wall(1) [...] and a desktop notification via kwrited on KDE or xwrited on Xfce/GNOME/LXDE.
Hm, I am using notify-send (not for SMART, but something else), might be the more portable solution?
I don't think so, notify-send requires access to each user's session DBus instance and you have to resort to some pretty gross and fragile hack to do that. In addition you don't reach users which are just logged in on a console. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org