Update Xorg change Output display (in xrandr)

This commit is contained in:
Jeremy Gardais 2016-07-20 08:19:32 +02:00
parent 7432d6dd96
commit 24d1579675
1 changed files with 4 additions and 4 deletions

8
ecran
View File

@ -8,16 +8,16 @@
case "${1}" in
ds | dockstation | work )
xrandr --output HDMI1 --mode 1920x1200 --above LVDS1 --output LVDS1 --mode 1366x768
xrandr --output HDMI-1 --mode 1920x1200 --above LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for DisplayPort with dock station';;
vga | lug )
xrandr --output VGA1 --mode 1280x1024 --right-of LVDS1 --output LVDS1 --mode 1366x768
xrandr --output VGA-1 --mode 1280x1024 --right-of LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with VGA';;
hdmi | dp | displayport )
xrandr --output HDMI1 --mode 1920x1080 --above LVDS1 --output LVDS1 --mode 1366x768
xrandr --output HDMI-1 --mode 1920x1080 --above LVDS-1 --output LVDS-1 --mode 1366x768
printf 'Xrandr for dual screen with DisplayPort';;
- | off )
xrandr --output LVDS1 --mode 1360x768 --output HDMI1 --off --output VGA1 --off
xrandr --output LVDS-1 --mode 1360x768 --output HDMI-1 --off --output VGA-1 --off
xrandr --output VGA --off
printf 'Desactivate all video output';;
* )