From 18b852a9747a33262ba020744467791147470c4b Mon Sep 17 00:00:00 2001 From: Michael Pereira Neves Date: Tue, 8 Apr 2014 18:51:08 -0300 Subject: [busybox] Add locale support --- remote/modules/busybox/openslx-busybox-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules') 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 -- cgit v1.2.3-55-g7522 From 7b6f5b4cd521c6be9162292dae8984173e661b10 Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Wed, 9 Apr 2014 16:52:08 +0200 Subject: [beamergui] If recognized two outputs apply preferred resolutions and arrange the outputs side by side lexicographically ordered by their name --- .../beamergui/data/opt/openslx/scripts/beamergui-mode_setter | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'remote/modules') 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" -- cgit v1.2.3-55-g7522