Xorg

From Bashlinux
Revision as of 00:20, 19 June 2015 by Manpaz (talk | contribs) (Created page with "__NOTOC__ Ensure the following line is present in <tt>/etc/X11/xorg.conf</tt> in order to let GUI handle the blank screen. Option "DPMS" === How to turn on/off the display f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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