LightDM sets wrong environment variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
Fix Released
|
High
|
Gunnar Hjalmarsson | ||
lightdm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
LightDM sets wrong GDM_LANG and LANGUAGE environment variables.
ikuya@UbuntuWil
LANG=ja_JP.UTF-8
GDM_LANG=en
LANGUAGE=en
they should be:
ikuya@UbuntuWil
LANG=ja_JP.UTF-8
GDM_LANG=ja
LANGUAGE=ja
According to this bug, every menu shows in English.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: lightdm 1.16.3-0ubuntu1
ProcVersionSign
Uname: Linux 4.2.0-14-generic x86_64
ApportVersion: 2.19-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Oct 5 23:14:27 2015
InstallationDate: Installed on 2015-10-05 (0 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20151005)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
IMHO, LANGUAGE and GDM_LANG are unnecessary. It should be removed them.
Here is the proposed patch.