Linux-Noob Forums
Turn on/off monitor with server - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Xorg Problems (https://www.linux-noob.com/forums/forum-56.html)
+--- Thread: Turn on/off monitor with server (/thread-2221.html)



Turn on/off monitor with server - DS-Patrick - 2006-01-25


Perhaps some Linux experts can help with this one...

 

Is is possible, using the built-in power management in SUSE, to turn the monitor on and off at predetermined times? Ideally, this would be done via using server time (ie screens turn on at 1:00pm and turn off at 2:00am).

 

As an alternative, is possible to configure Suse to do the same thing without the server?

 

Thanks for any info, I know this is kind of a strange question.

 

Thanks!




Turn on/off monitor with server - znx - 2006-01-25


Not a strange question at all and it is completely possible. There is a utility called "xset" which is built for the purpose of tweaking X.

 

Quick list of what it does:

xset s Reset to standard settings

xset s 600 Activate after 10 minutes

xset s blank Use blank screen

xset s off Deactivate screensaver

xset s on Switch on screensaver

xset s activate Activate screensaver immediately

xset q Display current settings

xset +dpms Enable power saving

xset -dpms Disable power saving

 

So for you to enable:



Code:
xset +dpms
xset s on
xset s activate




 

And to disable:



Code:
xset s off
xset -dpms




 

You can use cron to enable at a time.. and disable at a time.




Turn on/off monitor with server - anyweb - 2006-01-26


great post, pinned and moved to X

 

cheers

anyweb




Turn on/off monitor with server - SubZero - 2007-12-21


There's no "deactivate"

 

s activate Causes the screen saver to activate, even if it has been turned off.

s reset Causes the screen saver to deactivate if it was activated.




Turn on/off monitor with server - znx - 2008-01-02

Thanks SubZero! Over zealous or something haha