← Back to team overview

desktop-packages team mailing list archive

[Bug 1502921] Re: LightDM sets wrong environment variables

 

Hi Gunnar,

> * Which LANG value is set by /etc/default/locale?
ikuya@UbuntuWily6:~$ cat /etc/default/locale 
LANG="ja_JP.UTF-8"

> * Has the locale for that value been generated?
ikuya@UbuntuWily6:~$ sudo locale-gen 
Generating locales...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
  ja_JP.UTF-8... up-to-date
Generation complete.

> Where/how did you set the user specific value for LANG? (I'm assuming that you did not use Language Support or any other GUI.)
I don't have any modification about locales after the  installation.
I am sure that LightDM persists wrong language value. And I know that LANGUAGE and GDM_LANG not set by GDM and SDDM.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1502921

Title:
  LightDM sets wrong environment variables

Status in lightdm package in Ubuntu:
  Incomplete

Bug description:
  LightDM sets wrong GDM_LANG and LANGUAGE environment variables.

  ikuya@UbuntuWily6:~$ env |grep LANG
  LANG=ja_JP.UTF-8
  GDM_LANG=en
  LANGUAGE=en

  they should be:
  ikuya@UbuntuWily6:~$ env |grep LANG
  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
  ProcVersionSignature: Ubuntu 4.2.0-14.16-generic 4.2.2
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1502921/+subscriptions


References