how to wake up sleeping monitor using batch script/command

Antonio Olivares olivares14031 at yahoo.com
Sun Dec 26 03:24:07 UTC 2010



--- On Sat, 12/25/10, Ed Greshko <Ed.Greshko at greshko.com> wrote:

> From: Ed Greshko <Ed.Greshko at greshko.com>
> Subject: Re: how to wake up sleeping monitor using batch script/command
> To: "Community support for Fedora users" <users at lists.fedoraproject.org>
> Date: Saturday, December 25, 2010, 6:05 PM
> On 12/26/2010 10:00 AM, JB wrote:
> > 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
> 
> Neither of these incantations will turn my screen on....
> 
> xset dpms force off ; sleep 10 ; xdotool mousemove_relative
> 1 1
> 
> works fine...
> 
> 
> -- 

$ xset dpms force off ; sleep 10 ; xset dpms force on

works from cli, but does not when called from the script :(, 

@James & JB
the redirection > /dev/null 2>&1

is to avoid having shitloads of mail by th mailer :)
Will report back if I can get it to work, otherwise I will have to get Ed's solution.

Thanks for helping out.

Regards,

Antonio 



      


More information about the users mailing list