how to wake up sleeping monitor using batch script/command

James McKenzie jjmckenzie51 at earthlink.net
Sun Dec 26 02:07:09 UTC 2010


On 12/25/10 7:00 PM, JB wrote:
> Antonio Olivares<olivares14031<at>  yahoo.com>  writes:
>
>> ...
>> I tried adding a command to wake up the monitor like
>> 48 04 * * 1-5 sleep 2; xset dpms force on>  /dev/null 2&>1
>> ...
> Some observations when done on a command line.
> - the screen does not come up when
>    $ xset dpms force off ; sleep 10 ; xset dpms force on>  /dev/null 2&>1
> - the screen DOES come up after 10s when
>    $ xset dpms force off ; sleep 10 ; xset dpms force on
>
You know I say "Doc it hurts when I do this."
My doctor says "Don't do that."

It looks like the redirects are causing the command to not work 
properly, so don't use them.

James McKenzie



More information about the users mailing list