commit 40e9f12f726fe72374172fae103673da7387ca98 Author: Bill Nottingham Date: Fri Jun 24 10:03:11 2011 -0400 Make sure we override LANG if we're being run from xinit/startx (#713988, ) diff --git a/lang.sh b/lang.sh index cf02a61..bd798a1 100755 --- a/lang.sh +++ b/lang.sh @@ -2,7 +2,9 @@ sourced=0 -if [ -n "$LANG" ]; then +# $sysxkbmap means we're running under Xinit; we want to re-read settings in case +# we're running in CJKI and have been defaulted to English on the console. +if [ -z "$sysxkbmap" -a -n "$LANG" ]; then sourced=1 else for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do