This commit is contained in:
committed by
Git OBS Bridge
parent
2f46d5016c
commit
0bee246fab
11
xim
11
xim
@@ -79,7 +79,16 @@ adduserenv () {
|
||||
done < <(exec -l -a ${SHELL##*/} $SHELL -c printenv)
|
||||
}
|
||||
|
||||
adduserenv LANG LC_CTYPE LC_ALL INPUT_METHOD
|
||||
# if gdm passes the language to Xsession, we should not override this
|
||||
# see http://bugzilla.novell.com/show_bug.cgi?id=440371
|
||||
# The test for $GDM_LANG needs to be changed slightly as soon as other
|
||||
# displaymanager also pass a second argument to Xsession.
|
||||
if test -n "$GDM_LANG" ; then
|
||||
echo "/etc/X11/xim: use GDM_LANG=$GDM_LANG"
|
||||
adduserenv INPUT_METHOD
|
||||
else
|
||||
adduserenv LANG LC_CTYPE LC_ALL INPUT_METHOD
|
||||
fi
|
||||
|
||||
test $extglob -eq 0 && shopt -u extglob
|
||||
|
||||
|
Reference in New Issue
Block a user