Bug#756252: gnome-session: Doesn't set LANG

Mike Hommey mh at glandium.org
Sat Sep 6 02:58:03 UTC 2014


On Mon, Jul 28, 2014 at 10:57:04AM +0900, Mike Hommey wrote:
> So, some more data points:
> - the empty LANG and "en_US:en" LANGUAGE come from /etc/default/locale.
>   Not sure how this got there, but adjusting things there does change what
>   ends up set in gnome-session-worker, so I can set, for instance
>   LANG=en_US.UTF-8.
> - however, setting a *different* locale with the gnome control center
>   than the one in /etc/default/locale doesn't do anything. That is, I
>   set the language to japanese in the region&language control center
>   box, and I'm still all in an english UI, with en_US.UTF-8 locale. (and
>   yes, I do have the ja_JP.UTF-8 locale generated)
> 
> So I guess it all boils down to the Region&language configuration being
> completely ignored.

Changing the Region&locale configuration does, in fact, work, to some
degree: it works if you set it for the login screen. When you do that,
the session does get the right locale. But, it's not possible to have
a different locale than the one for the login screen, in the session.

Mike



More information about the pkg-gnome-maintainers mailing list