1

Bash Script checking for mail

view story
linux-howto

https://bbs.archlinux.org – Maybe you need to export also the DBUS session.In KDE I use this to notify from a root cronjob:for pid in $(/usr/bin/pgrep 'startkde'); do eval $(grep -z '^USER=' /proc/$pid/environ) eval export $(grep -z '^DISPLAY=' /proc/$pid/environ) eval export $(grep -z '^DBUS_SESSION_BUS_ADDRESS=' /proc/$pid/environ) sudo -u "$USER" /usr/bin/notify-send -i folder-tar "test" "test" done aesiris https://bbs.archlinux.org/profile.php?id=57570 2013-02-05T08:54:35Z (HowTos)