xfdesktop in a cron job
Tyler Durden
tylerdu at bounced.me
Fri Nov 25 00:58:07 CET 2011
On 25.11.2011 00:43, houghi wrote:
> On Thu, Nov 24, 2011 at 11:14:43PM +0100, Tyler Durden wrote:
>> The trouble I see is that env. var. DISPLAY is not actually
>> propagated to the xfdesktop if you put it that way. Try it like
>> this:
>>
>> * * * * * DISPLAY=:0.0 /usr/bin/xfdesktop --reload
>>
>> or
>>
>> * * * * * env DISPLAY=:0.0 /usr/bin/xfdesktop --reload
>>
>> (untested)
>
> Same difference. i.e. it does not work. :-(
>
- is your display really :0.0 or maybe something else?
- are you running cron and xfce from the same user?
I've now put the second line (with env) in my cron to test it for you
and I'm not getting any errors from it, so it should work. Doublecheck
everything.
--
Tyler
More information about the Xfce
mailing list