[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-08-09 Thread hardik
see this also https://bugs.launchpad.net/ubuntu/+source/unity/+bug/820333 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-08-08 Thread Simon
This still fails on Natty 64 bits. I have defined: $ cat /etc/default/locale LANG=es_ES.UTF-8 LC_ALL= LC_MESSAGES=POSIX LC_COLLATE=C But when I enter in Gnome: $ locale LANG=es_ES.UTF-8 LANGUAGE=es_ES:en LC_CTYPE=es_ES.UTF-8 LC_NUMERIC=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 LC_COLLATE=C

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-08-08 Thread Gunnar Hjalmarsson
Hi Simon, /etc/default/locale contains system wide settings that basically affect the startup and the login screen. Once logged in, your personal language settings override the system wide ditto. Please select English as your user language, either from the language chooser at the bottom of the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-06-04 Thread dreamon
Thanks again for your suggestions, Gunnar. I copied your commands directly from here to the terminal, so it is not a typo. Strangely, setting env LANG with firefox or thunderbird actually worked on the last three Ubuntu versions, even though it may be incorrect to run it this way. I was able to

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-31 Thread Gunnar Hjalmarsson
Strange. Firefox should be started in English if you set LC_MESSAGES as I suggested. Typo, maybe? ;-) gedit is another thing. Unlike Firefox gedit recognizes the LANGUAGE env. variable, which overrides both LANG and LC_MESSAGES, so to make gedit be started in English you would need: env

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-30 Thread dreamon
Gunnar, thank you for your quick reply. Unfortunately, this didn't make a difference. Firefox still comes up in Chinese. This is on a fresh Natty install, by the way (had to reinstall since my last post for a different reason). Suppose that means the bug is not fixed then? Any other suggestions?

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-30 Thread Gunnar Hjalmarsson
It makes a difference to me. Since you said an English instance of Firefox, maybe I should point out that you can't have a Chinese and an English FF instance simultaneously. In other words, Firefox must not be running when you execute the command I suggested. -- You received this bug

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-30 Thread dreamon
Yes, of course. Firefox wasn't running when I executed the env LC_MESSAGES and env LANG commands. I also tried running the command with other programmes, such as gedit, but always got the same result: contrary to my expectation, the programme would not open up in the language specified, but in the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-29 Thread dreamon
I am not sure if this is related, but I am experiencing problems with GDM overriding language selections I apply on a per-programme basis via the env variable. Normally, when I select Chinese (China) at the login screen, I can still run programmes in English by prepending an env argument, e.g.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-29 Thread dreamon
A screenshot demonstrating the conflict between gdm and env. I selected Chinese (China) at the login screen to run a Chinese language session of Ubuntu. In this Chinese Ubuntu session I am trying to run an English instance of Firefox by prepending env LANG=en_US.UTF-8. Note how Firefox comes up

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-29 Thread Gunnar Hjalmarsson
@dreamon You are probably right when assuming that your observations are related to the fixes of this bug. If your regional formats setting (second tab in Language Support) is something else but Chinese (China), your choosing Chinese (China) as the display language makes gdm set the LC_MESSAGES

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-16 Thread Gunnar Hjalmarsson
@Kevin Yes, I remember that you were confused by system vs. user specific level. Language Support Help, which you can reach by clicking the Help button at the bottom left of the Language Support window, will hopefully contribute to reduce similar confusion henceforth. Also, at the UDS in

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-14 Thread Gunnar Hjalmarsson
@Kentaro To have menus and messages displayed in English, just drag English to the top of the combobox list on the Language tab of Language Support. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-14 Thread Kevin Huang
@Gunnar, I guess there are very few users (not developers) know two level language set up designs, system wide on language support and user specific on the login screen. It actually has confused me for a while until I read your clear explanation:

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-14 Thread Kentaro
@Gunnar, (#107) Thank you for your help. I tested it and it seems to be working at this moment. I was in doubt that selecting English of Language menu affects all locale settings such as LC_TIME or LC_NUMERIC. Let me see what happens with my settings. Now I have export LANG=ja_JP.UTF-8; export

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-13 Thread Kentaro
The patch #36 (36_language_environment_settings.patch) damaged my desktop environment by setting LANGUAGES. I'm Japanese and my LANG is ja_JP.UTF-8, but because of some reasons my LC_MESSAGES is set to C by .gnomerc and .zshenv to display non- translated messages/texts. This worked very well for

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-05-13 Thread Kentaro
Let me correct my previous comment: s/LANGUAGES/LANGUAGE/g -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-13 Thread Kevin Huang
Hi Gunnar, Thanks for your clear explanation about two level setting of display language. Issue closed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-13 Thread Gunnar Hjalmarsson
You're welcome, Kevin. Let me thank you for your effort with the detailed questions. They helped me improve the new Language Support Help document. Also, I'm glad that it wasn't yet another bug. ;-) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-11 Thread Gunnar Hjalmarsson
Hi again, Kevin. Two things you need to be aware about: 1. The display language can be set on two levels: system wide, which determines what's shown on the login screen, and user specific. It's only the user language that can be set from the login screen. 2. The principal tool for setting

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-07 Thread Kevin Huang
Hi Gunnar, let me reproduce it in details. Hope you don't mind to refer to I captured the screen shots in sequence attached, because I am not sure if I can explain it in details in English. Environment 1. Fresh Unity Beta 1 installation with all updates on April 7th 2. Language selected in OOBE

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-05 Thread Kevin Huang
re-tested GDM in Natty, and found the issues still remain. languages pre-installed: English, Traditional Chinese, Simplified Chinese GDM: 2.32.0-0ubuntu14 Reproduce steps A. issue at GDM screen. 1. logout 2. select English on the bottom panel 3. Ideally, 密碼 should change to password, but it

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-05 Thread Gunnar Hjalmarsson
Kevin, On 2011-04-05 11:02, Kevin Huang wrote: A. issue at GDM screen. 1. logout 2. select English on the bottom panel 3. Ideally, 密碼 should change to password, but it remains no change. That is as it should be. The language chooser on the bottom panel sets the user language, while it's the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-04-03 Thread Gunnar Hjalmarsson
** Changed in: ubuntu-translations Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-03-31 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/lucid/gdm/lucid-backports_sec- update ** Branch linked: lp:~gunnarhj/ubuntu/maverick/gdm/maverick- backports_sec-update -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-03-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-backports/language-selector ** Branch linked: lp:ubuntu/maverick-backports/language-selector -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-03-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-backports/gdm ** Branch linked: lp:ubuntu/maverick-backports/gdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-03-07 Thread Gunnar Hjalmarsson
Fixes of this bug for Lucid and Maverick are now available in official backports packages. To make Synaptic check for backports updates you can do: o System - Administration - Update Manager - Settings... o Select the Updates tab and check the Unsupported updates option. More about Ubuntu

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-03-03 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/maverick/language-selector /maverick-proposed ** Branch linked: lp:~gunnarhj/ubuntu/maverick/gdm/maverick- proposed_langfixes -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-15 Thread Gunnar Hjalmarsson
Ok Martin, no problem. You weren't very keen on the SRU idea in December either, but you mentioned backports as a possibly passable option. To me, the branches that this bug report resulted in are principally fixes of annoying, buggy behavior. However, I'm sure there are good reasons for the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-15 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:ubuntu/lucid-proposed/language-selector ** Branch unlinked: lp:ubuntu/lucid-proposed/gdm ** Branch unlinked: lp:~gunnarhj/ubuntu/maverick/gdm/maverick- proposed_lp-553162 ** Branch unlinked: lp:~gunnarhj/ubuntu/maverick/language-selector /maverick-proposed_lp-553162 **

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-15 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/lucid/gdm/lucid- backports_lp-553162 ** Branch linked: lp:~gunnarhj/ubuntu/maverick/gdm/maverick- backports_lp-553162 ** Branch linked: lp:~gunnarhj/ubuntu/lucid/language-selector/lucid- backports_lp-553162 ** Branch linked:

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-15 Thread Gunnar Hjalmarsson
Hi all, I have filed the bug 719815, where I request that the fixes of this bug be backported to Lucid and Maverick. https://help.ubuntu.com/community/UbuntuBackports Once test builds have been made, please feel free to help process the request by testing the packages and posting feedback and

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-14 Thread Gunnar Hjalmarsson
** Branch linked: lp:ubuntu/lucid-proposed/gdm ** Branch linked: lp:ubuntu/lucid-proposed/language-selector -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-14 Thread Gunnar Hjalmarsson
** Description changed: + SRU nomination addition + I'm about to nominate Lucid and Maverick fixes of this bug for stable release updates (SRUs), which is the reason for this addition to the bug description. + + Many (most?) new Ubuntu users, who need more than one locale to set + their

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-02-14 Thread Martin Pitt
This introduces quite a substantial behaviour change, including the additional setting of $LC_MESSAGES (which now causes a lot of confusion when using ssh), has very intrusive patches, and this isn't a data loss or security bug, thus I am afraid it doesn't qualify for an SRU. -- You received

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2011-01-10 Thread Bug Watch Updater
** Changed in: gdm Status: New = Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so that

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-27 Thread Gunnar Hjalmarsson
@trespasser (comment #87) Personally I would like to see a GUI where users can seemlessly set their locale preferences without knowing what a locale is, so I find your suggestion interesting. However, it's beyond the scope of this bug report. These are two places that may be more suitable to

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-27 Thread Gunnar Hjalmarsson
Hi all, As you may have seen, fixes to this bug report were released in Natty on December 14, and yesterday Martin Pitt approved the last 'follow-up fix'. The issues were introduced in Lucid (Ubuntu 10.04), so I have prepared gdm and language-selector packages for Lucid and Maverick with similar

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/lucid/gdm/lucid-proposed_lp-553162 ** Branch linked: lp:~gunnarhj/ubuntu/lucid/language-selector/lucid- proposed_lp-553162 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/maverick/language-selector /maverick-proposed_lp-553162 ** Branch linked: lp:~gunnarhj/ubuntu/maverick/gdm/maverick- proposed_lp-553162 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread Martin Pitt
For the record, current ubuntu-desktop gdm bzr head (and the version in natty) build fine again. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread Martin Pitt
Hello Gunnar, Gunnar Hjalmarsson [2010-12-09 1:49 -]: There's another aspect to this: The upstream gdm Xsession script already sets $LANG. With the changes that you have in mind, it needs to stop doing that; with separate .d directory scripts, you can only additionally set $LC_*, but

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread Martin Pitt
** Changed in: gdm (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread Launchpad Bug Tracker
This bug was fixed in the package language-selector - 0.8 --- language-selector (0.8) natty; urgency=low * Set LC_MESSAGES for applications that don't recognize LANGUAGE (LP: #553162). * GDM related fixes (LP: #553162): - Update dmrc when LANGUAGE and LC_MESSAGES are set,

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread Launchpad Bug Tracker
This bug was fixed in the package gdm - 2.32.0-0ubuntu2 --- gdm (2.32.0-0ubuntu2) natty; urgency=low [ Martin Pitt ] * 06_run_xsession.d.patch: Don't trip over directories and other non-files in Xsession.d/. (LP: #654578) [ Gunnar Hjalmarsson ] *

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread YunQiang Su
It costs almost One year ! -- YunQiang Su -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so that

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-14 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/language-selector ** Branch linked: lp:ubuntu/gdm -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-12 Thread trespasser
It gives me SO much headache. I understand what I propose is a separate approach but can someone please specify what drawbacks lie behind creating a language-creator instead of language-selector? There are only 10 types of users: those finding default language settings for their country convenient

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-08 Thread Gunnar Hjalmarsson
** Patch removed: language-selector_lp553162.debdiff https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/553162/+attachment/1758216/+files/language-selector_lp553162.debdiff ** Patch removed: gdm_lp553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-08 Thread Gunnar Hjalmarsson
** Patch added: language-selector_lp553162.debdiff https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/553162/+attachment/1760312/+files/language-selector_lp553162.debdiff -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-08 Thread Gunnar Hjalmarsson
Hi Martin, Thanks for your comments! Before replying to some of them, let me say that I finally realized that the .d/ sub-scripts solution I suggested previously was too obfuscated. Whatever advantages I saw, they could not justify the resulting obfuscation. All code in a project like this has to

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Gunnar Hjalmarsson
** Patch removed: gdm_lp553162.debdiff https://bugs.launchpad.net/gdm/+bug/553162/+attachment/1752037/+files/gdm_lp553162.debdiff ** Patch removed: language-selector_lp553162.debdiff https://bugs.launchpad.net/gdm/+bug/553162/+attachment/1752047/+files/language-selector_lp553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Gunnar Hjalmarsson
** Patch added: gdm_lp553162.debdiff https://bugs.launchpad.net/gdm/+bug/553162/+attachment/1758215/+files/gdm_lp553162.debdiff -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Gunnar Hjalmarsson
@Martin I have made an attempt to juggle all the files, as you put it the other day in #ubuntu-desktop, and I believe it's now almost as it ought to be. * Patched the changes to Xsession.in, gdm-session-settings.c and gdm-session-settings.h. Sub-scripts belonging to the language-selector

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Didier Roche
** Branch unlinked: lp:~gunnarhj/ubuntu/natty/gdm/lp-553162 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Martin Pitt
Hello Gunnar, I see a ton of new MPs and replies here, so I'll reply/catch up with them one by one. So some of my replies here might already be obsolete now. Gunnar Hjalmarsson [2010-11-30 12:12 -]: and second, it hasn't been tested with other login managers and might just break stuff

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Martin Pitt
Gunnar Hjalmarsson [2010-12-02 7:24 -]: Yeah, but personally I believe there is still a need for _one_ responsible team leader. For the record: Indeed l-s currently doesn't have a lead developer, but we'll get one soon. Right now it's on collaborative maintenance mode. (There are some

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Martin Pitt
Hello Gunnar, Gunnar Hjalmarsson [2010-12-07 8:42 -]: * Patched the changes to Xsession.in, gdm-session-settings.c and gdm-session-settings.h. Sub-scripts belonging to the language-selector package dropped - yes, I changed my mind. ;-) Oh, great :) Natty problem: When I uploaded

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Martin Pitt
Unsubscribing sponsors, for the record. I think the discussion here has become way too complex, this will be handled between Gunnar and me now. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-07 Thread Gunnar Hjalmarsson
** Branch linked: lp:~gunnarhj/ubuntu/natty/gdm/lp-553162 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/gdm/lp-553162 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so that

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-06 Thread Gunnar Hjalmarsson
** Branch linked: lp:~ubuntu-desktop/gdm/ubuntu -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. https://bugs.launchpad.net/bugs/553162 Title: Set $LANGUAGE if the user picks a different locale in gdm, so that

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-03 Thread Dave Walker
Would someone be able to comment if communication with upstream is still active please? @Martin, what do you consider to be the next step? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu.

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-03 Thread Gunnar Hjalmarsson
Hi Dave, On 2010-12-03 12:12, Dave Walker wrote: Would someone be able to comment if communication with upstream is still active please? Communication with upstream (GNOME) is applicable for two reasons. Previously I suggested some changes to /etc/gdm/Xsession, and tried to 'sell' those

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/ubuntu/natty/gdm/lp-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop Bugs,

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:~gunnarhj/gdm/partial-fix-553162 ** Branch unlinked: lp:~gunnarhj/language-selector/suppl-fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
** Patch removed: language-selector_suppl-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/553162/+attachment/1717564/+files/language-selector_suppl-fix-553162.debdiff ** Patch removed: gdm_partial-fix-553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
Hello Arne, Thanks a bunch for your valuable comments. On 2010-11-30 17:43, Arne Goetje wrote: The code in language-selector is a bit hackish and unprofessional, since Iʼm not an experience programmer or python coder ... Maybe that's the reason why I'm fairly comfortable with the code. ;-)

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
For the record, below please find Martin Pitts comments on a superseded (and deleted) merge proposal, followed by my reply. Martin Pitt wrote on 2010-11-24: Hello Gunnar, many thanks for working on this! Some comments: - in the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
Martin, I have updated the patches and merge proposals, and personally I feel that they have been sufficiently penetrated to be committable. Consequently I ask you to please complete your sponsoring of this stage of the project, so the usefulness can be tested more widely. I don't know if you

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
** Attachment removed: language-environment.sh https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/553162/+attachment/1748709/+files/language-environment.sh ** Attachment removed: gdm_lp-553162.debdiff

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Arne Goetje
Hi Gunnar, On 12/02/2010 05:36 AM, Gunnar Hjalmarsson wrote: On 2010-11-30 17:43, Arne Goetje wrote: The code in language-selector is a bit hackish and unprofessional, since Iʼm not an experience programmer or python coder ... Maybe that's the reason why I'm fairly comfortable with the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-12-01 Thread Gunnar Hjalmarsson
Hi again, On 2010-12-02 03:10, Arne Goetje wrote: On 12/02/2010 05:36 AM, Gunnar Hjalmarsson wrote: I can see that LANG and LANGUAGE have been written to /etc/default/locale and /etc/environment also for KDE users. I'm suggesting that also LC_MESSAGES is written to those files, and so far I

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-30 Thread Gunnar Hjalmarsson
Hi Martin, Thanks for your latest comments. This reply is long, but I sum up my POV at the end. On 2010-11-29 16:21, Martin Pitt wrote: ... I think we should still patch the Xsession script in the Ubuntu gdm package instead of this profile.d hacking; first, it would be a bit confusing for

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-30 Thread Arne Goetje
Hi all, a few comments for clarification: On 11/30/2010 08:12 PM, Gunnar Hjalmarsson wrote: Hmm.. If I recall it correctly, we agreed a few weeks ago to conceptually convert GDM's locale selector to a pure language picker, in order to make it play well with the language tab in

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-29 Thread Gunnar Hjalmarsson
Martin, During our talk in #ubuntu-desktop last friday, you mentioned the possibility to drop ~/.profile for storing the user language environment and use /var/cache/gdm/$USER/dmrc instead. I think that may be a practicable approach with the advantage that there is a safe method in place for

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-29 Thread Gunnar Hjalmarsson
... and here is the GDM diff ** Patch added: gdm_lp-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1748710/+files/gdm_lp-553162.debdiff -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-29 Thread Martin Pitt
Hello Gunnar, Gunnar Hjalmarsson [2010-11-24 17:20 -]: Please note that the gdm patch, i.e. the Xsession code changes, is not part of my suggestion any longer. [...] As you know, I tried to 'sell' the idea upstream, but wasn't very successful... Right, but I think we should still patch

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-29 Thread Martin Pitt
Gunnar Hjalmarsson [2010-11-29 13:52 -]: During our talk in #ubuntu-desktop last friday, you mentioned the possibility to drop ~/.profile for storing the user language environment and use /var/cache/gdm/$USER/dmrc instead. Note that this was just a strawman idea, I haven't looked into this

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-29 Thread Martin Pitt
Gunnar Hjalmarsson [2010-11-29 13:53 -]: ... and here is the GDM diff This looks nicely generic. Would upstream consider taking this? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) --

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-24 Thread Martin Pitt
Gunnar, finally I have some time to get back to this. I looked at your recent gdm patch, and have some questions: - in language_update(), why do we need the en special case? - in the second part of language_update(), why would $GDM_LANG not be a valid locale? this does some rather expensive

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-24 Thread Gunnar Hjalmarsson
Hi Martin, Thanks for your comments and questions, both here and on the merge proposal! On 2010-11-24 10:40, Martin Pitt wrote: I looked at your recent gdm patch, Please note that the gdm patch, i.e. the Xsession code changes, is not part of my suggestion any longer. The reason why I still

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-19 Thread Gunnar Hjalmarsson
Minor change in LanguageSelector/LocaleInfo.py: ~/.dmrc may be read in connection with scanning for the user LANGUAGE setting, not the user LANG setting. ** Patch removed: language-selector-only_fix-553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-17 Thread Gunnar Hjalmarsson
Update of ~/.profile (setting of LC_MESSAGES) added to install script. ** Patch removed: language-selector-only_fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/553162/+attachment/1735249/+files/language-selector-only_fix-553162.debdiff ** Patch added:

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-14 Thread Gunnar Hjalmarsson
Script for updating /etc/default/locale and /etc/environment added. ** Patch removed: language-selector-only_fix-553162.debdiff https://bugs.launchpad.net/gdm/+bug/553162/+attachment/1719985/+files/language-selector-only_fix-553162.debdiff ** Patch added:

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-09 Thread Gunnar Hjalmarsson
[ moving discussion from bug 655427, so more people get notified ] On 2010-11-10 03:10, trespasser wrote: I agree this is a duplicate to the certain point but (please, correct me if I am wrong or missed something in discussion on bug 553162) your patch makes sure $LANG, $LANGUAGE and

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-01 Thread Gunnar Hjalmarsson
Because of some reluctance upstream (GNOME) to make the suggested changes to GDM, I figured out a reasonably sensible way to make all the code changes in the Ubuntu specific language-selector package. https://code.launchpad.net/~gunnarhj/language-selector/fix-553162 If /etc/gdm/Xsession isn't

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-11-01 Thread Gunnar Hjalmarsson
** Patch added: language-selector-only_fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1719985/+files/language-selector-only_fix-553162.debdiff -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-31 Thread Launchpad Bug Tracker
** Branch linked: lp:~gunnarhj/language-selector/fix-553162 -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Desktop Bugs,

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-31 Thread Gunnar Hjalmarsson
** Branch unlinked: lp:language-selector ** Branch unlinked: lp:ubuntu/lucid/language-selector ** Branch unlinked: lp:ubuntu/lucid-updates/language-selector ** Branch unlinked: lp:ubuntu/maverick/gdm -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-30 Thread Gunnar Hjalmarsson
New patch due to a discussion at bugzilla.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=633295 ** Patch removed: language-selector_suppl-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1710251/+files/language-selector_suppl-fix-553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-30 Thread Gunnar Hjalmarsson
New patch due to a discussion at bugzilla.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=633295 ** Patch added: gdm_partial-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1717569/+files/gdm_partial-fix-553162.debdiff ** Changed in:

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-27 Thread Gunnar Hjalmarsson
Martin, On 2010-10-15 23:29, Gunnar Hjalmarsson wrote: On 2010-10-13 18:49, Martin Pitt wrote: So, after this discussion I'm not opposed to turning gdm into a pure language selector, and ask users to use language-selector (ugh, how confusing :) ) to setup the full locale. But if we do that,

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-27 Thread Gunnar Hjalmarsson
** Bug watch added: GNOME Bug Tracker #633295 https://bugzilla.gnome.org/show_bug.cgi?id=633295 ** Also affects: gdm via https://bugzilla.gnome.org/show_bug.cgi?id=633295 Importance: Unknown Status: Unknown -- Set $LANGUAGE if the user picks a different locale in gdm, so that

Re: [Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-27 Thread Martin Pitt
Hello Gunnar, just so you know that I'm not ignoring you: UDS is happening this week, and before I had to wrap up my OEM term. Next week is Plumber's, but after that I promise I'll spend some time on this. So, sorry for the delay here. Thanks! Martin -- Martin Pitt|

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-27 Thread Bug Watch Updater
** Changed in: gdm Status: Unknown = New ** Changed in: gdm Importance: Unknown = High -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-27 Thread Gunnar Hjalmarsson
Hi Martin, Thanks for saying that, but it's absolutely no problem. I'm a web scripting hobbyist (Perl/CGI) who am busy learning new stuff. The impressing organisation, the tools, the insight that shell scripting involves more than 'cp' and 'mv'... So please see my posts and code tweaking in the

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-26 Thread Gunnar Hjalmarsson
Bugfix (of this bugfix...) and some more code tweaking ** Patch removed: gdm_partial-fix-553162.debdiff https://bugs.launchpad.net/ubuntu-translations/+bug/553162/+attachment/1711379/+files/gdm_partial-fix-553162.debdiff ** Patch added: gdm_partial-fix-553162.debdiff

[Bug 553162] Re: Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing

2010-10-25 Thread Gunnar Hjalmarsson
LC_MESSAGES also set system-wide, i.e. in /etc/default/locale and /etc/environment ** Patch removed: language-selector_suppl-fix-553162.debdiff https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/553162/+attachment/1699263/+files/language-selector_suppl-fix-553162.debdiff ** Patch removed:

  1   2   >