diff options
-rwxr-xr-x | data/Xsession.in | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/data/Xsession.in b/data/Xsession.in index 6c7761a4..b2d98f2f 100755 --- a/data/Xsession.in +++ b/data/Xsession.in @@ -146,35 +146,11 @@ fi unset XKB_IN_USE -# Normalize languages, some places/distros screw us up in /etc/profile, -# so in case the user did select a language +# Overwrite $LANG from /etc/profile (and friends) with the one picked in the +# greeter if [ -n "$GDM_LANG" ]; then LANG="$GDM_LANG" export LANG - - if [ -n "$LC_ALL" ]; then - if [ "$LC_ALL" != "$LANG" ]; then - LC_ALL="$LANG" - fi - else - unset LC_ALL - fi - - if [ -n "$LANGUAGE" ]; then - if [ "$LANGUAGE" != "$LANG" ]; then - LANGUAGE="$LANG" - fi - else - unset LANGUAGE - fi - - if [ -n "$LINGUAS" ]; then - if [ "$LINGUAS" != "$LANG" ]; then - LINGUAS="$LANG" - fi - else - unset LINGUAS - fi fi # run all system xinitrc shell scripts. |