[Bug 793366] Re: Sets $LANG to invalid value de

2012-07-23 Thread Yves-Alexis Perez
Robert, I disagree about lightdm not touching the locale setting. If there are other ways to login to the system, fine. That doesn't prevent to read .dmrc which has the correct locale selected by the user. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 793366] Re: Sets $LANG to invalid value de

2011-07-03 Thread Gunnar Hjalmarsson
@Robert As you may have seen already, I sent a message about the language chooser topic to the ubuntu-desktop list. https://lists.ubuntu.com/archives/ubuntu-desktop/2011-July/003137.html Looking forward to replies from you and others. You make me curious when you write: a greeter overriding

[Bug 793366] Re: Sets $LANG to invalid value de

2011-07-01 Thread Robert Ancell
Yves-Alexis, the fields in .dmrc are only there so the greeter can know which language to set by default in the list of options. The locale settings must be set externally to the display manager as it is not the only method of logging into the system (e.g. text terminal logins). So by LightDM

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/lightdm/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793366 Title: Sets $LANG to invalid value de To manage notifications about this bug go to:

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-30 Thread Launchpad Bug Tracker
This bug was fixed in the package lightdm - 0.4.1-0ubuntu1 --- lightdm (0.4.1-0ubuntu1) oneiric; urgency=low * New upstream release - Fixes (LP: #793366) * debian/lightdm.conf: * debian/guest-session-cleanup.sh: * debian/guest-session-setup.sh: - Enable guest session

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-30 Thread Robert Ancell
The fix in LightDM is it no longer sets any locale environment. The defaults for LANG and LANGUAGE are sourced from /etc/default/locale and then it is up to the users .profile to set their language (which is populated by language-selector). The fields in ~/.dmrc are ignored entirely. -- You

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-30 Thread Yves-Alexis Perez
Why ignore completely the fields in .dmrc? Afaict they are useful when set (wether from GDM or lightDM). .profile isn't use by everybody and language-selector either (especially outside of Ubuntu). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-30 Thread Gunnar Hjalmarsson
@Robert Calling that a fix is obviously related to your statement in bug #803858 about not providing a language chooser. It was unexpected news to me. https://lists.ubuntu.com/archives/ubuntu-desktop/2011-June/003081.html Btw, are you talking about Ubuntu or upstream or both? Personally I'd

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-29 Thread Sam_
If it helps, at the beginning this bug affected me too, but I issued export LANG=de_DE.UTF-8, since locale on Natty desktop pc is set up like this, although I didn't manually export to ~/.profile. ** Attachment added: lang

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-29 Thread Stefano Rivera
Sam: I edited by .dmrc to have LANG=en_ZA.UTF-8, and removed LCMess. I couldn't see any way to fix it without editing .dmrc by hand. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793366 Title:

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-26 Thread Robert Ancell
The cache files are not user editable. The purpose of the cache is lightdm reads from it if ~/.dmrc does not exist (e.g. if the home directory is not yet mounted). if changing ~/.dmrc does not updated lightdm, then this is a bug in lightdm. -- You received this bug notification because you are

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-26 Thread Gunnar Hjalmarsson
What about the question I asked on the merge proposal then? If the user changes ~/.dmrc, and lightdm reads from the cache at next login because HOME isn't yet mounted, it reads old info, doesn't it? We also have the situation when the user sets a new language at login. If HOME isn't mounted then,

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-22 Thread Gunnar Hjalmarsson
@Robert The v. 0.41 changes in language-selector presuppose that lightdm's dmrc cache files are user editable. We'd better reach a conclusion on that soon, because currently, when you try to change language from language-selector, it fails. -- You received this bug notification because you are

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-21 Thread Launchpad Bug Tracker
This bug was fixed in the package language-selector - 0.41 --- language-selector (0.41) oneiric; urgency=low * LanguageSelector/LanguageSelector.py and LanguageSelector/LocaleInfo.py: Take also LightDM's dmrc files into account when reading and saving data (LP: #793366).

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/language-selector -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793366 Title: Sets $LANG to invalid value de To manage notifications about this bug go to:

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-10 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/language-selector/oneiric ** Branch linked: lp:~gunnarhj/ubuntu/oneiric/lightdm/lp-793366 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793366 Title: Sets $LANG to

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-10 Thread Gunnar Hjalmarsson
I have patched lightdm so it no longer assigns an invalid value to LANG. However, at this time ~/.profile is ignored, so LANG gets populated with the system value, which lightdm sets by sourcing /etc/default/locale (in /etc/init/lightdm.conf, I think). I take it for granted that lightdm will

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-10 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:~gunnarhj/ubuntu/oneiric/lightdm/lp-793366 ** Branch linked: lp:~gunnarhj/lightdm/lp-793366 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793366 Title: Sets $LANG to invalid

[Bug 793366] Re: Sets $LANG to invalid value de

2011-06-06 Thread Gunnar Hjalmarsson
As soon as I noticed that lightdm will be the default dm in Oneiric, I realized that there is a need to patch lightdm similarly to how we patch gdm. It seems that lightdm uses the original (simplistic) gdm method to set the i18n environment. gdm takes the $LANG value from ~/.profile or