I propose something easier to reproduce that does not require
source-highlight.
Just install notify-send.
Here is something that works with cron:
* * * * * DISPLAY=:0.0 notify-send "hello world!"
and that does not work with incron:
/home/user/foo IN_CLOSE_WRITE DISPLAY=:0.0 notify-send "hello world!"
With the first, I get a "hello world" notification every minut.
With the second I get nothing when I ls>/home/user/foo.
Even if I enclose the command in a script that sets DISPLAY, this does
not work.
I think that sums up the situation better.
Received on Tue Jun 05 2012 - 22:14:21 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST