Add a external HD display. And Ensure the laptop hdmi output is off.

This commit is contained in:
Jeremy Gardais 2017-09-28 22:09:12 +02:00
parent f6351c00b1
commit 68cbdc5e6a
1 changed files with 4 additions and 1 deletions

5
ecran
View File

@ -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;;