[LightDM] lightdm at lists.freedesktop.org
corsac at debian.org
Sun Aug 21 22:31:25 PDT 2011
On lun., 2011-08-22 at 12:03 +1200, Robert Ancell wrote:
> Problem #1 is language != locale. If the greeter can only choose
> language it can't configure all the detail required to set up a
> locale. If you were to make it support everything it would be too
> complex. If you allow the greeter to set arbitrary environment then
> that ignores the problem and makes it inconsistent between different
Set LANG and let people override specific stuff with LC_* if they need.
> Problem #2 is locale is not just for GUIs. It really should be
> external to the display manager and applied to all logins. It really
> shouldn't be in the .dmrc.
I think people login on console or ssh know how to set envvar.
> Problem #3 is who is responsible for setting the locale environment
> variables? The environment is set up like this:
> - LightDM sets a default environment
> - PAM sets more environment
> - LightDM sets some GUI specific variables, e.g. XAUTHORITY
> XDG_SEAT_PATH, ...
> - Environment is set in the session script (session-wrapper config
> value in lightdm.conf, or /etc/gdm/Xsession in GDM).
Well, if PAM sets LANG, fine, but the login screen beeing the first
thing the users see, it's a natural place to chose the language. Then
applying the remembered choice looks like a good idea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the LightDM