From 24d157967507a4818d588f8b56e0367344dddd83 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 20 Jul 2016 08:19:32 +0200 Subject: [PATCH] Update Xorg change Output display (in xrandr) --- ecran | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ecran b/ecran index dd9d6bc..e24dba3 100755 --- a/ecran +++ b/ecran @@ -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';; * )