[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#679386: Bug#679386: lightdm: Language selection is ignored in session, $LANG is system default



On Mon, 23 Jul 2012 07:59:32 +0200
Yves-Alexis Perez <corsac at debian.org> wrote:

> It seems that this was done on purpose because, apparently, the data
> should come from PAM. See upstream bug for more details.

Presumably you mean here:

https://bugs.launchpad.net/lightdm/+bug/1019314

I agree with your description of the situation, except for this:

    In 1.2, when the user selects the locale in LightDM greeter, it's
    set for the session and saved in .dmrc. Then for the following
    sessions, nothing loads .dmrc and the locale is not correctly set.

That's not what I'm seeing.

In 1.2, when the user selects the locale in the LightDM greeter, it's
saved in ~/.dmrc, but it IS NOT set in the environment for that session,
or any other.

See my comment on the Debian bug report, and the explanation by the
original submitter, which are in agreement on this point:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679386

In other words, LightDM locale selection is currently completely
useless, because it has no effect at all on the session being started,
or any subsequent one.

One might ask why a Pluggable Authentication Module ought to be
responsible for things which clearly have nothing to do with
authentication, such as locale selection, especially when they are
liable to change at every login.


-- Ian Bruce




Reply to: