* Josselin Mouette <[email protected]>: > > > LANG can be configured from the login window, which was already the case > > > with gdm2. > > > LC_MESSAGES is not touched by the Xsession script. > > > > The script sets LC_ALL which overwrites all LC_* variables. > > It only does if LC_ALL is already set, and it sets it to the value > configured in the display manager: > > if [ -n "$LC_ALL" ] && [ "$LC_ALL" != "$LANG" ]; then > LC_ALL="$LANG" > fi
Ok. Investigated the problem further with the attached script (sh -x test.sh). These are my settings from .profile to document the problem again: # prefer german settings for everything except messages LANG=de_DE.UTF-8 LC_MESSAGES=C export LANG LC_MESSAGES I get the expected behaviour if I select a GDM_LANG=de_DE.UTF-8 in the login screen. Then LANG is set to de_DE.UTF-8 and my LC_* configurations are untouched. As far as I can tell and understand, GDM_LANG beats settings of LANG in a ~/.profile file. I can not argue whether this is a bug or not. Seems I am the only one who was surprised. So, I guess you can close this bug. Thanks for your help, best wishes Kai
test.sh
Description: Bourne shell script

