diff options
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x | remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter | 11 | ||||
| -rw-r--r-- | remote/modules/busybox/openslx-busybox-config | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter b/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter index 55474174..d29aa2c1 100755 --- a/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter +++ b/remote/modules/beamergui/data/opt/openslx/scripts/beamergui-mode_setter @@ -116,7 +116,16 @@ if [ ${#OUTPUTNAMES[@]} -eq 2 ]; then fi fi else - echo "\e[32mNo beamers found.\e[0m" + # In case of two monitors just sort the outputa lexicographically and apply + # the preffered resolution + readarray -t OUTPUTNAMES \ + < <(for a in "${OUTPUTNAMES[@]}"; do echo "$a"; done | sort) + echo ${OUTPUTNAMES[@]} + xrandr \ + --output ${OUTPUTNAMES[0]} --preferred \ + --primary \ + --output ${OUTPUTNAMES[1]} --preferred \ + --right-of ${OUTPUTNAMES[0]} fi else echo "\e[32mMore than 2 outs.\e[0m" diff --git a/remote/modules/busybox/openslx-busybox-config b/remote/modules/busybox/openslx-busybox-config index 2e2bc686..0ad7a7bc 100644 --- a/remote/modules/busybox/openslx-busybox-config +++ b/remote/modules/busybox/openslx-busybox-config @@ -25,7 +25,7 @@ CONFIG_SHOW_USAGE=y CONFIG_FEATURE_COMPRESS_USAGE=y # CONFIG_FEATURE_INSTALLER is not set # CONFIG_INSTALL_NO_USR is not set -# CONFIG_LOCALE_SUPPORT is not set +CONFIG_LOCALE_SUPPORT=y CONFIG_UNICODE_SUPPORT=y # CONFIG_UNICODE_USING_LOCALE is not set CONFIG_FEATURE_CHECK_UNICODE_IN_ENV=y |
