From c3f082eccfea77a39bc197ebdbb3f94cac384766 Mon Sep 17 00:00:00 2001 From: Jindrich Pilar Date: Mon, 22 Feb 2016 20:55:37 +0100 Subject: [PATCH] Added xrandr cheat --- cheat/cheatsheets/xrandr | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cheat/cheatsheets/xrandr diff --git a/cheat/cheatsheets/xrandr b/cheat/cheatsheets/xrandr new file mode 100644 index 0000000..01589f7 --- /dev/null +++ b/cheat/cheatsheets/xrandr @@ -0,0 +1,11 @@ +# To enable HDMI2 output with maximal resolution: +xrandr --output HDMI2 --auto + +# To enable HDMI2 output with specific resolution: +xrandr --output HDMI2 --mode 1280x800 + +# To enable HDMI2 output next to HDMI1 output: +xrandr --output HDMI2 --auto --right-of HDMI1 + +# To disable HDMI2 output: +xrandr --output HDMI2 --off