Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: The system's font display problem
Date: Sun, 15 Jul 2012 20:14:22
Message-Id: 20120715221213.5b94efd4@weird.wonkology.org
In Reply to: Re: [gentoo-user] Re: The system's font display problem by Mark Knecht
1 Mark Knecht writes:
2
3 > On Sun, Jul 15, 2012 at 8:09 AM, Nikos Chantziaras <realnc@×××××.com>
4 > wrote:
5
6 > > Do not set anything other than LANG and LC_COLLATE. Then only set
7 > > vars that differ from LANG. Your /etc/env.d/02locale should look
8 > > like this:
9 > >
10 > > LANG="en_US.UTF-8"
11 > > LC_COLLATE="C"
12 > > LC_CTYPE=zh_CN.UTF-8
13 [...]
14 > Just double checking here. Is the file /etc/locale.gen now totally
15 > depreciated or is it still required? The install guide still has it in
16 > chapter 8 where the file /etc/locale.gen ends up looking pretty much
17 > identical to the 02locale file.
18 >
19 > Or maybe they serve different purposes somehow?
20
21 /etc/locale.gen defines which locales are supported on your system.
22
23 /etc/env.d/02locale defines which of these locale you are actually using
24 by setting LANG and LC_* environment variables. Files in /etc/env.d/ end
25 up in /etc/profile.env (by running the env-update command), which is
26 evaluated from /etc/profile and as such by every shell. If you want
27 different settings for your user, override that stuff in your
28 ~/.bash_profile.
29
30 Wonko

Replies

Subject Author
Re: [gentoo-user] Re: The system's font display problem Mark Knecht <markknecht@×××××.com>