Re: screensaver or APM control via commandline?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: screensaver or APM control via commandline?
> xset dpms force off # to turn off
>
> This worked from a shell, I don't know if it will work in cron


At the very least, you need to set DISPLAY to :0 , as cron jobs have
a really limited set of environment variables. The cron job also
must be running as the user who's currently using the X Display.
Or you could just do "xhost +local:", though that will cause paranoid
people to have a cow.

--
Matt G / Dances With Crows
The Crow202 Blog: http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss