xrandr Command Examples

Set the size, orientation and/or reflection of the outputs for a screen. More information: https://www.x.org/releases/current/doc/man/man1/xrandr.1.xhtml.

xrandr --query

xrandr --auto

xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}

xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}

xrandr --output {{VGA1}} --off

xrandr --output {{LVDS1}} --brightness {{0.5}}

xrandr --display :{{0}} --query