Hi. On Sat, 21 Mar 2015 05:02:53 -0400 Gene Heskett <[email protected]> wrote:
> Greetings; > > Running a wheezy based linux here. > > While I as a user can use xset to remind the system of the monitors dpms > controls, an identical entry in my crontab results in an email that it > could not open my 0:0 display. Since cron should strip out every environment variable from whatever its told to run - that's to be expected. > So I cannot "script" this reminder. You can. All you need to do is to define the needed DISPLAY and XAUTHORITY in the script itself. I.e. #!/bin/sh export DISPLAY=:0.0 export XAUTORITY=<your XAuthority goes here> xset +foo -bar Reco -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

