Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Non-case sensitive alphabetical sorting
Date: Tue, 22 Jul 2008 04:55:22
Message-Id: g63p6m$80q$1@ger.gmane.org
In Reply to: Re: [gentoo-user] Non-case sensitive alphabetical sorting by Mark David Dumlao
1 Mark David Dumlao wrote:
2 > On Tue, Jul 22, 2008 at 11:50 AM, Albert Hopkins <marduk@×××××××××××.org> wrote:
3 >> Check your LC_ALL environment variable.
4 >>
5 >> [~]$ LC_ALL=en_US ls
6 >> total 56K
7 >> 4.0K bin/ 4.0K exclude 4.0K Private/ 4.0K Templates/
8 >> 4.0K Desktop/ 4.0K Media/ 4.0K Projects/ 4.0K Virtual_Machines/
9 >> 4.0K Documents/ 4.0K Music/ 4.0K python/
10 >> 4.0K Downloads/ 4.0K Pictures/ 4.0K Python/
11 >>
12 >> [~]$ LC_ALL=C ls
13 >> total 56K
14 >> 4.0K Desktop/ 4.0K Music/ 4.0K Python/ 4.0K exclude
15 >> 4.0K Documents/ 4.0K Pictures/ 4.0K Templates/ 4.0K python/
16 >> 4.0K Downloads/ 4.0K Private/ 4.0K Virtual_Machines/
17 >> 4.0K Media/ 4.0K Projects/ 4.0K bin/
18 >
19 > great! what's the correct place to set this globally so that both
20 > terminal and gnome will see it?
21
22 /etc/env.d/02locale
23
24 You need to do 'env-update' as root after any changes there followed by
25 'source /etc/profile' (or logging out and in again).