Wednesday, June 22, 2011

How to disable monitor standby in Linux

To check if your video card support DPMS just run
xset q
and see the result:
You should get something similar to this output:
DPMS (Energy Star):
Standby: 1200 Suspend: 1800 Off: 2400

DPMS is Enabled
Monitor is On

To disable these settings just run:
xset dpms 0 0 0

Or disable DPSM with
xset -dpms

Run again
xset q
to check the new settings

If you to make these settings permanents just add these rows to your xorg.conf

Section “ServerFlags”
Option “blank time” “0″
Option “standby time” “0″
Option “suspend time” “0″
Option “off time” “0″
Option “dpms” “false”