Akamit Blog

Enterprise sysadmin's blog

  • You are here: 
  • Home
  • 2012 May

How to manually turn on/off Xorg screen

Posted on May 2nd, 2012

It can be useful for example if you have a display that you need to be on for a period of time from 9-00 to 18-00 when you on desk.
I use that feature for Nagios management station which is running all the time but turn head display only when I’m on duty and can see what is on it.

nagios@nms-host$ crontab -l
0 18 * * * DISPLAY=:0 xset dpms force off
0 9 * * * DISPLAY=:0 xset dpms force on

Filed under Misc, Nagios | No Comments »