The program I am running is using notify-send, but this is clearly not working. I tried
Code:
sudo notify-send Hello ByeBye
and got an error indicating that there was no password (I have no root password set).
I discovered the solution at http://fhanik.blogspot.co.uk/2014/01...s-cronjob.html
My crontab entry for running a command xxxxxxx at hh:ss now looks like:
Code:
ss hh * * * eval "export $(egrep -zDBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAMEgnome-session)/environ)" && gsettings setcom.canonical.notify-osd multihead-mode focus-follow && env DISPLAY=:0 xxxxxxx
Bookmarks