how to wake up sleeping monitor using batch script/command

Ed Greshko Ed.Greshko at
Sat Dec 25 23:51:42 UTC 2010

On 12/26/2010 06:37 AM, Antonio Olivares wrote:
> I have a Flat Panel Monitor with built in speakers.  If the monitor is on(not sleeping), the speakers work.  When the Monitor goes to sleep, the speakers no longer work :(, I have a cron job that plays music in the morning, but since the monitor is sleeping the music does not play :(
> 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
> but the monitor does not wake up :(, I tried using variations like
> xset -dpms 
> and 
> xset +dpms
> and force on, force off to no avail.  I sent a message to list, on how the crontab job was set and the script itself, but it has not made it to list, or was deleted?  If you get a double post, please accept my apologies in advance, don't know how to blame, users* list or yahoo mail^{1}.

Install the xdotool package (available on F11...not sure if F14 has it)
and then use one of the commands to move the mouse.

"You boys lookin' for trouble?" "Sure. Whaddya got?" -- Marlon Brando,
"The Wild Ones" 葛斯克 愛德華 / 台北市八德路四段

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : 

More information about the users mailing list