Rotate Screen[edit | edit source]

xrandr lets you rotate screens.

$ xrandr -o left

Dual-head Displays[edit | edit source]

If for some reason your dual-head configuration isn't being saved properly, you can use xrandr to adjust the screens as part of a login-script.

Something along the lines of:

# xrandr --output DVI-1-0 --mode 1920x1080 --primary \
         --output DisplayPort-1-2 --mode 1920x1080 --right-of DVI-1-0 \
         --output HDMI1 --mode 1920x1080 --same-as DisplayPort-1-2

Controlling Screen Power/Sleep[edit | edit source]

Command Description
$ xset dpms force on
$ xset s reset  # may be required to unblank screen
Turn on screen
$ xset dpms force off
Turn off screen
$ xset +dpms
$ xset dpms 600 600 600
Enable sleep (eg. after 10 minutes)
$ xset -dpms
Disables sleep

You may also use xset -q to get the current display status.