----- Mail Original -----
De: "Mick" <[email protected]>
À: [email protected]
Envoyé: Samedi 14 Mai 2011 21h05:57 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [gentoo-user] openrc update : locale variables are gone

On Saturday 14 May 2011 15:26:38 Florian Philipp wrote:
> Am 14.05.2011 16:09, schrieb Willie Wong:
> > On Sat, May 14, 2011 at 03:41:37PM +0200, Alain DIDIERJEAN wrote:
> >> As the subject line says, all variables pertaining to locale are gone
> >> (LANG & LINGUAS not set, LC_* set to POSIX"). In which file are they
> >> supposed to be set these days ?
> > 
> > /etc/env.d/02locale
> > 
> > W
> 
> Don't forget to run `env-update && source /etc/profile`.

Hmm ... not sure if the Window Manager/Display Environment sticks its finger 
in my locale!

On a console logged in as a plain user I get exactly what I have in my 
/etc/env.d/02locale.  The story is the same when I su to root in a terminal 
within X.  However, when I am in a terminal in X as a plain user I get *every* 
locale variable as  en_GB.UTF-8.

My /etc/env.d/02locale shows:

LANG="en_GB.UTF-8"
LC_TIME="POSIX"
LC_COLLATE="C"

Why would this be so?  The Language setting in my WM (e17) is set as 'System 
Default' and at the bottom is shows "System Locale: Locale".
-- 

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".
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.
My preference would be a global setting (as it used to be), as all users on my 
machine are french.
I have the same problem with most of the apps.
Any comments ?

-- 
                            
        Alain DIDIERJEAN      Puisque ces mystères nous dépassent
                           Feignons d'en être l'organisateur


Reply via email to