Update Xorg change Output display (in xrandr)
This commit is contained in:
parent
7432d6dd96
commit
24d1579675
8
ecran
8
ecran
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
ds | dockstation | work )
|
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';;
|
printf 'Xrandr for DisplayPort with dock station';;
|
||||||
vga | lug )
|
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';;
|
printf 'Xrandr for dual screen with VGA';;
|
||||||
hdmi | dp | displayport )
|
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';;
|
printf 'Xrandr for dual screen with DisplayPort';;
|
||||||
- | off )
|
- | 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
|
xrandr --output VGA --off
|
||||||
printf 'Desactivate all video output';;
|
printf 'Desactivate all video output';;
|
||||||
* )
|
* )
|
||||||
|
|
Loading…
Reference in New Issue