From 68cbdc5e6ae08eb49139b35a37deb5c553fc2e6b Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 28 Sep 2017 22:09:12 +0200 Subject: [PATCH] Add a external HD display. And Ensure the laptop hdmi output is off. --- ecran | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ecran b/ecran index 6223bf0..73be406 100755 --- a/ecran +++ b/ecran @@ -20,9 +20,12 @@ case "${1}" in xrandr --output HDMI-1 --mode 1024x768 --output LVDS-1 --mode 1366x768 --same-as HDMI-1 printf 'Xrandr for presentation';; - | off ) - xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off + xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off --output HDMI-3 --off xrandr --output VGA --off printf 'Desactivate all video output';; + out ) + xrandr --output HDMI-3 --mode 1920x1080 --output LVDS-1 --off + ;; * ) printf 'Bad argument, please use [vga|hdmi|ds|work|-|off]' exit 1;;