Add a external HD display. And Ensure the laptop hdmi output is off.
This commit is contained in:
parent
f6351c00b1
commit
68cbdc5e6a
5
ecran
5
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;;
|
||||
|
Loading…
Reference in New Issue
Block a user