Xorg

From Bashlinux
Revision as of 00:21, 19 June 2015 by Manpaz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to enable DPMS to manage monitor's energy power

Ensure the following line is present in /etc/X11/xorg.conf in order to let GUI handle the blank screen.

Option "DPMS"

How to turn on/off the display from the CLi

xset

  • Enable DPMS
xset +dpms
  • Turn On/Off respectively
xset -display :0 dpms force off
xset -display :0 dpms force on
  • Check the current display status
xset -q

xrandr

  • List outputs
export DISPLAY=:0
xranrd -q
  • Turn On/Off respectively
xrandr --output DFP-1 --off
xrandr --output DFP-1 --auto

vbetool

export DISPLAY=:0
vbetool dpms off
vbetool dpms on