Steps to show an example when this issue matters:

* English install from a US location
* Change formats from g-c-c to en_DK.UTF-8
  - to get reasonable date formats
  - this changes both "region" and ~/.pam_environment
* Install French from Language Support
* Change formats from Language Support to fr_FR.UTF-8
  - this changes ~/.pam_environment but not "region"
* Relogin

Result:

$ cat .pam_environment
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
PAPERSIZE=a4
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_DK.UTF-8
LC_TIME=en_DK.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_DK.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_DK.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=en_DK.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=

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

Title:
  Ignore the "region" gsettings value

Status in gnome-session package in Ubuntu:
  In Progress

Bug description:
  The /usr/bin/gnome-session wrapper sets some LC_* variables based on
  the "region" gsettings value. Since we rely on ~/.pam_environment for
  those variables, setting them from /usr/bin/gnome-session is
  redundant, and may occasionally cause unexpected behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1722002/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to