[Pkg-xfce-devel] Bug#765077: Bug#765077: lightdm-gtk-greeter: Language selection is broken (again)

Vladimir K pzs-fs at yandex.ru
Mon Oct 13 15:26:36 UTC 2014


With empty LANGUAGE all software uses locale from LANG. But when it is set,
I get this:

$ cat /etc/default/locale
LANG=en_US.UTF-8
LANGUAGE="en_US:en"

Chosen ru_RU.UTF8 on login...

$ locale
LANG=ru_RU.utf8
LANGUAGE=en_US:en
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=

$ cat .dmrc
[Desktop]
Language=ru_RU.utf8
Session=lightdm-xsession

So, about that half of software...
XFCE panel and menu title, config utils, crhomium, leafpad, nano, asunder,
remmina are in English
XFCE menu contents, date, iceweasel, libreoffice, virtualbox-qt, qbittorrent,
audacity are in Russian.

Which of them are buggy?

Package versions I use:
Package liblightdm-gobject-1-0
p A 1.10.2-2                                      testing                   900 
i A 1.10.3-1                                      unstable                  400 

Package lightdm:
p   1.10.2-2                                      testing                   900 
i   1.10.3-1                                      unstable                  400 

Package lightdm-gtk-greeter:
i   1.8.5-1                                       testing,unstable          900 

I`ve also downgraded to 1.10.2, same results.


So lightdm does not touch LANGUAGE at all, even if it is set and conflicts
with chosen locale. But LANG and LANGUAGE should be consonant
in order for all software to agree on same thing.

When LANGUAGE is empty, I get no conflict. (I do not remember the reason
for adding LANGUAGE to /etc/default/locale or whether I did it manually or
by some config tool. But the reason was valid enough for me to do it on every
machine I deal with). I think, lightdm should be prepared to handle LANGUAGE
var.

Also regardless of LANGUAGE lightdm is still getting stuck on first chosen
locale for me.
Logout, change language, login, get same language. Only restarting lightdm
helps. I thought it could occur because of previous session leftovers like gpg-agent or
gnome-keyring-daemon, but killing them did not help.
What info do you require on this?



More information about the Pkg-xfce-devel mailing list