[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
** Changed in: gnome-settings-daemon Status: Invalid = Unknown ** Changed in: gnome-settings-daemon Importance: Unknown = Medium -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
** Package changed: meta-gnome2 (Ubuntu) = gnome-session (Ubuntu) -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
This isn't a bug. ~/.bashrc is just that - a configuration file for the Bash shell. It is not the responsibility of gnome-session to read this file. The session is started with /bin/sh, which is a symlink to /bin/dash on Ubuntu anyway, so Bash preferences will not work here. ** Changed in: gnome-session (Ubuntu) Status: New = Invalid -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
i think the original bug report is not a bug because gnome should not read the shell initialization files. gnome (gdm) reads the .profile (see /etc/gdm/Xsession) so any LC_* settings is best put there. see also my anser at https://answers.launchpad.net/questions/60699 -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
** Changed in: gnome-settings-daemon Status: Unknown = Invalid -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
** Bug watch added: GNOME Bug Tracker #573950 http://bugzilla.gnome.org/show_bug.cgi?id=573950 ** Also affects: gnome-settings-daemon via http://bugzilla.gnome.org/show_bug.cgi?id=573950 Importance: Unknown Status: Unknown -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
I am not a GNOME i18n expert, at all. But I do know that if you use GNOME the way it was intended, i18n generally just works and you do not need to mess with manually setting locale variables in .bashrc or .dmrc or anywhere else. Set a language at the gdm screen, and when prompted, tell it to make this new language/locale the default for your user, and it adds information to that effect to your ~/.dmrc Then, next time that user logs in, they get that chosen language/locale. Such a user will find that their shell locale is correct, too, when they open up a terminal window. Job done. User does not need to care where the info is stored or how it works. User never edits a ~/.anything file! It just works. I think you are trying to mess with the guts of how GNOME does things, and (lacking detailed info on exactly how it works) that attempt is apparently confusing you. Since your end users are unlikely to do this kind of thing, your testing should probably do it the way your users will, for maximum fidelity. For one-time quick tests during development, you can of course always do LC_ALL=whatever LC_TIME=foobar gnomesword type of things, this sets the locale vars for that one process (and its subprocesses) only. The shell has allowed this for many years, probably decades, and this is not GNOME or Ubuntu specific in any way. If you want to test GNOME menus, then I think you need to be starting GNOME the way end users will, not trying to manually tweak it, if you want the tests to be valid for real life users. Do you really truly need more that this? Is there really a bug here? If so, what exactly is the bug? I'd suggest closing this as NOTABUG at this point. But that's just my opinion. If you have a question (as opposed to a bug), then you could try using LaunchPad Answers to ask it, and see if you get a solid answer to it there. It might be good to phrase the question in terms of the user requirement how do I achieve result X, rather than in terms of the method how do I get GNOME to read locale settings from shell initialization file Y, for best results. Jonathan -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
On Wed, Feb 11, 2009 at 13:46, Jonathan Marsden jmars...@fastmail.fmwrote: Set a language at the gdm screen, and when prompted, tell it to make this new language/locale the default for your user, and it adds information to that effect to your ~/.dmrc Then, next time that user logs in, they get that chosen language/locale. Such a user will find that their shell locale is correct, too, when they open up a terminal window. Job done. User does not need to care where the info is stored or how it works. User never edits a ~/.anything file! It just works. Right, the problem is when you want to mix and match locales. In my situation, I simply want to change my time to 24-hour and my first weekday to Monday, but retain everything else in en_US. Since GNOME does not offer any way to do this, shell environment variables are the only way I know how to do this. Do you really truly need more that this? Is there really a bug here? If so, what exactly is the bug? That I cannot customize my locale settings within a language (specifically changing the time mode and first weekday, but I could not change any other setting either). If you have a question (as opposed to a bug), then you could try using LaunchPad Answers to ask it, and see if you get a solid answer to it there. It might be good to phrase the question in terms of the user requirement how do I achieve result X, rather than in terms of the method how do I get GNOME to read locale settings from shell initialization file Y, for best results. I'm inclined to think there's a bug (as I mentioned above) mainly because no one seems to know how to do this in GNOME. Missing/undiscoverable functionality is still a bug. But fair enough; I should exhaust all resources: https://answers.launchpad.net/gnome-common/+question/60699 Interestingly, I found this question, which doesn't really shed any light at all: https://answers.launchpad.net/gnome-common/+question/6311 If no further information comes to light in the next 48 hours, I will report this upstream and work with other GNOME BugSquad members to triage it. -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
** Summary changed: - Locale settings not used by GNOME session + Locale settings in shell initialization not used by GNOME session -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 306591] Re: Locale settings in shell initialization not used by GNOME session
** Changed in: meta-gnome2 (Ubuntu) Status: Incomplete = New -- Locale settings in shell initialization not used by GNOME session https://bugs.launchpad.net/bugs/306591 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs