Gentoo Archives: gentoo-user

From: Alain DIDIERJEAN <alain.didierjean@××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openrc update : locale variables are gone
Date: Sun, 15 May 2011 08:45:17
Message-Id: 1135451712.568951305449019477.JavaMail.root@spooler5n-g27.priv.proxad.net
In Reply to: Re: [gentoo-user] openrc update : locale variables are gone by Mick
1 ----- Mail Original -----
2 De: "Mick" <michaelkintzios@×××××.com>
3 À: gentoo-user@l.g.o
4 Envoyé: Samedi 14 Mai 2011 21h05:57 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
5 Objet: Re: [gentoo-user] openrc update : locale variables are gone
6
7 On Saturday 14 May 2011 15:26:38 Florian Philipp wrote:
8 > Am 14.05.2011 16:09, schrieb Willie Wong:
9 > > On Sat, May 14, 2011 at 03:41:37PM +0200, Alain DIDIERJEAN wrote:
10 > >> As the subject line says, all variables pertaining to locale are gone
11 > >> (LANG & LINGUAS not set, LC_* set to POSIX"). In which file are they
12 > >> supposed to be set these days ?
13 > >
14 > > /etc/env.d/02locale
15 > >
16 > > W
17 >
18 > Don't forget to run `env-update && source /etc/profile`.
19
20 Hmm ... not sure if the Window Manager/Display Environment sticks its finger
21 in my locale!
22
23 On a console logged in as a plain user I get exactly what I have in my
24 /etc/env.d/02locale. The story is the same when I su to root in a terminal
25 within X. However, when I am in a terminal in X as a plain user I get *every*
26 locale variable as en_GB.UTF-8.
27
28 My /etc/env.d/02locale shows:
29
30 LANG="en_GB.UTF-8"
31 LC_TIME="POSIX"
32 LC_COLLATE="C"
33
34 Why would this be so? The Language setting in my WM (e17) is set as 'System
35 Default' and at the bottom is shows "System Locale: Locale".
36 --
37
38 Following the openrc update in gentoo amd64, all locale variables suddenly vanished. I created a /etc/env.d/02locale file which includes LANG="fr_FR.UTF-8".
39 lyx loads with english menus. It's only after exporting LANG from .bashrc that I can launch it from a shell with its french menus. To achieve the same effect from KDE menu, I have to set the launch command to LANG="fr_FR.UTF-8" lyx.
40 My preference would be a global setting (as it used to be), as all users on my machine are french.
41 I have the same problem with most of the apps.
42 Any comments ?
43
44 --
45
46 Alain DIDIERJEAN Puisque ces mystères nous dépassent
47 Feignons d'en être l'organisateur

Replies

Subject Author
Re: [gentoo-user] openrc update : locale variables are gone Mick <michaelkintzios@×××××.com>