This was just discussed in #ubuntu-desktop. The basic problem here is
that language-selector now is able to set system-wide locale settings
which gdm does not understand. gdm is only able to set a locale (i. e.
$LANG), while language-selector can set a locale and additionally a
language list (which overrides LC_MESSAGES from $LANG) in $LANGUAGE.

I think a reasonable compromise would be:

 * As long as the locale picked in gdm matches the system locale, keep
$LANGUAGE, since it's explicit configuration that the admin did for this
machine, and we need to respect it. (cf. bug  407300)

 * Once the user selects a different locale, $LANGUAGES should be unset.
This can be one of:

    - $LANGUAGES is set system-wide, and $GDM_LANG != the system wide locale
    - $LANGUAGES is set in ~/.profile, and $GDM_LANG != $LANG set from 
~/.profile or ~/.dmrc

This needs to be done in /etc/gdm/Xsession.

** Changed in: gdm (Ubuntu)
       Status: Incomplete => Triaged

** Summary changed:

- Unset $LANGUAGES if the user picks a different locale in gdm
+ Unset $LANGUAGES if the user picks a different locale in gdm, so that 
language-selector and gdm stop disagreeing

-- 
Unset $LANGUAGES if the user picks a different locale in gdm, so that 
language-selector and gdm stop disagreeing
https://bugs.launchpad.net/bugs/553162
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to