diff options
author | Christian Rößler | 2018-08-06 16:32:21 +0200 |
---|---|---|
committer | Christian Rößler | 2018-08-06 16:32:21 +0200 |
commit | 68d5e6b52e71014cf154e7e86ce448c813b74f4e (patch) | |
tree | 1a252ab7e7eafc5bf40292911f1d6cbe6abfd998 /core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc | |
parent | [run-virt] linux script: Waiting when starting script minimised. (diff) | |
download | mltk-68d5e6b52e71014cf154e7e86ce448c813b74f4e.tar.gz mltk-68d5e6b52e71014cf154e7e86ce448c813b74f4e.tar.xz mltk-68d5e6b52e71014cf154e7e86ce448c813b74f4e.zip |
[run-virt] Linux mount script: very shitty bug (hexdump), some minor stuff.
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc')
-rwxr-xr-x[-rw-r--r--] | core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc index 66433663..cdb895bf 100644..100755 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc @@ -25,7 +25,7 @@ set_resolution() # Zu verbessern: Der Name des Verbundenen ist nicht immer bekannt. Daher nehmen wir das # erste 'connected' in der Ausgabe xrandrs Und warten evtl. ein Weilchen):: - for wartezeit in 1 1 1 2 2 2 4 4 0 ende; do + for wartezeit in 1 1 1 2 2 2 4 4 8 8 0 ende; do [ "$wartezeit" = "ende" ] && { logger "openslx resolution utility: Could not detect output device. Exiting." ; exit 1; } AUSGABE=$(DISPLAY="${DISPLAY}" XAUTHORITY="${XAUTHORITY}" xrandr -q|grep -m 1 " connected "|awk '{print $1}') [ -n "$AUSGABE" ] && break |