[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Gunnar Hjalmarsson
Yep, suspicious indeed. I built gdm3 with that function disabled: https://launchpad.net/~gunnarhj/+archive/ubuntu/gdm3 And yes, that's it. You nailed it Olivier; thanks a lot! Why didn't I see it when looking at that file many months ago... :( Anyway, I have submitted a MP. ** Changed in: gdm3

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/gdm/language-switching -- You received this bug notification because you are a member of DX Packages, which is subscribed to accountsservice in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1662031 Title: Switching language and forma

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Olivier Tilloy
I added a FOOBAR variable to both ~/.pam_environment and /etc/default/locale, with different values in each file, and after logging in the value is the one from ~/.pam_environment. So I don't think gdm sources /etc/default/locale after ~/.pam_environment. However variables LANG, LANGUAGE and LC_* a

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Olivier Tilloy
/usr/share/language-tools/save-to-pam-env is the script that writes to ~/.pam_environment with an incorrect syntax. -- You received this bug notification because you are a member of DX Packages, which is subscribed to accountsservice in Ubuntu. Matching subscriptions: dx-packages https://bugs.lau

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Olivier Tilloy
/etc/pam.d/gdm-launch-environment is run as user gdm, so it's not what we're interested in. /etc/pam.d/gdm-password appears to be what sets the environment upon user login. When adding some logging to that module, I'm seeing the following: pam_env(gdm-password:session): username=ubuntu pam_env(g

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Gunnar Hjalmarsson
Wonder if there is a problem with this code: https://git.gnome.org/browse/gdm/tree/daemon/gdm-session-worker.c#n993 @Steve: gdm3 seems to not read ~/.pam_environment. Do you possibly have an idea off the top of your head? -- You received this bug notification because you are a member of DX Pack

[Dx-packages] [Bug 1721804] Re: About this computer doesn't open the about tab

2017-10-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~mitya57/indicator-session/lp1721804 -- You received this bug notification because you are a member of DX Packages, which is subscribed to indicator-session in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1721804 Title: About this computer do

[Dx-packages] [Bug 1721804] [NEW] About this computer doesn't open the about tab

2017-10-06 Thread Marc Deslauriers
Public bug reported: Selecting "About this computer" from the power indicator doesn't actually show the about tab. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: indicator-session 17.3.20+17.10.20170717.1-0ubuntu3 ProcVersionSignature: User Name 4.13.0-12.13-generic 4.13.3 Uname: Linux 4.1

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Olivier Tilloy
In /etc/pam.d/gdm-launch-environment: session requiredpam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale In pam_env.c (handle_env function), the env should be set from /etc/default/locale and then overridden by ~/.pam_environment. If I add the 'debug' parameter to the mod

[Dx-packages] [Bug 390508] Re: notifyOSD ignores the expire timeout parameter

2017-10-06 Thread Matthew Paul Thomas
Colter, I addressed your use case in my 2009-10-02 comment: to reiterate, you can’t reliably use an asynchronous notification API to give synchronous feedback on events like volume/brightness change, because your notification might be queued behind dozens of others. If it happens to work with notif

[Dx-packages] [Bug 1703046] Re: indicator-printers-service crashed with SIGSEGV in __GI_____strtol_l_internal()

2017-10-06 Thread spike speigel
Just happened after the latest round of updates that required a reboot. -- You received this bug notification because you are a member of DX Packages, which is subscribed to indicator-printers in Ubuntu. https://bugs.launchpad.net/bugs/1703046 Title: indicator-printers-service crashed with SIG

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Olivier Tilloy
I didn't click "Apply System-Wide". When I changed the language in g-c-c /etc/default/locale was written to (LANG and LANGUAGE were updated). I agree that this is unexpected behaviour though, I wouldn't expect the current user's setting to be applied system-wide unless explicitly requested. -- Yo

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Gunnar Hjalmarsson
To clarify: I used the g-c-c interface to switch language. If I had clicked "Manage Installed Languages" to open Language Support and then clicked "Apply System-Wide", /etc/default/locale would have been updated too. But that 'does not count'. Language Support is available to work around the fact t

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Gunnar Hjalmarsson
The /etc/default/locale file was not altered when I just tested on an updated artful. -- You received this bug notification because you are a member of DX Packages, which is subscribed to accountsservice in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1662031 Title

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Gunnar Hjalmarsson
Olivier: Is /etc/default/locale written to also?? That's not what Sebastien and I observed. I'll go to a (relatively) fresh artful install and recheck then. If that's the case, the issue may not be so urgent. But it's poor design, since it means that if a user changes language, s/he changes it for

[Dx-packages] [Bug 1662031] Re: Switching language and format broken

2017-10-06 Thread Olivier Tilloy
Testing in an up-to-date artful VM, when switching languages in g-c-c, both LANG and LANGUAGE are updated in both ~/.pam_environment and /etc/default/locale. That VM is an artful install that has been updated daily, not an upgrade from a previous release. -- You received this bug notification be