Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275301 - gnome-base/gdm breaks the LINGUAS variable
Summary: gnome-base/gdm breaks the LINGUAS variable
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 16:16 UTC by James Le Cuirot
Modified: 2009-06-28 09:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2009-06-24 16:16:42 UTC
I switched to GDM from Slim a little while back and I've since noticed that my LINGUAS variable has been set wrong. If GDM_LANG gets set then it overwrites LINGUAS with the contents of LANG. In my case, this is en_GB.UTF-8 but I want it to be "en en_GB" since the UTF-8 part makes no sense for LINGUAS. When using Portage, LINGUAS is effectively blank since it doesn't recognise en_GB.UTF-8.

The overwriting happens in /etc/X11/gdm/Xsession and can easily be removed. In a way, this could be expected behaviour but it causes problems, not only because of the UTF-8 suffix but also because of a bug in GDM that causes GDM_LANG to always be set, even if you've only chosen the "System Default" language. See the given URL for the Debian bug report on this issue.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-28 08:54:01 UTC
Why are you defining LINGUAS at all ? This should most likely only be defined in your make.conf or user profile since this variable is of no use to users not compiling.
Comment 2 James Le Cuirot gentoo-dev 2009-06-28 09:34:41 UTC
Sorry, I didn't realise that. I'd put it in /etc/env.d/02locale with the others. Thanks.