Re: how to wake up sleeping monitor using batch script/command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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" 葛斯克 愛德華 / 台北市八德路四段

Attachment: signature.asc
Description: OpenPGP digital signature

users mailing list
[email protected]
To unsubscribe or change subscription options:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux