From b63075e51f8254a684ae61eb650b06a242ae3e1f Mon Sep 17 00:00:00 2001 From: Jeroen Meulemeester Date: Thu, 31 Dec 2015 10:43:10 +0100 Subject: [PATCH] xrandr: add page --- pages/linux/xrandr.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/xrandr.md diff --git a/pages/linux/xrandr.md b/pages/linux/xrandr.md new file mode 100644 index 0000000000..ba3c06e912 --- /dev/null +++ b/pages/linux/xrandr.md @@ -0,0 +1,23 @@ +# xrandr + +> Set the size, orientation and/or reflection of the outputs for a screen + +- Display the current state of the system (known screens, resolutions, ...) + +`xrandr --query` + +- Disable disconnected outputs and enable connected ones with default settings + +`xrandr --auto` + +- Change the resolution and update frequency of DisplayPort 1 to 1920x1080, 60Hz + +`xrandr --output {{DP1}} --mode {{1920x1080}} --rate {{60}}` + +- Set the resolution of HDMI2 to 1280x1024 and put it on the right of DP1 + +`xrandr --output {{HDMI2}} --mode {{1280x1024}} --right-of {{DP1}}` + +- Disable the VGA1 output + +`xrandr --output {{VGA1}} --off`