Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Non-case sensitive alphabetical sorting
Date: Tue, 22 Jul 2008 03:54:50
Message-Id: 1216698620.6364.5.camel@localhost
In Reply to: Re: [gentoo-user] Non-case sensitive alphabetical sorting by Mark David Dumlao
1 On Tue, 2008-07-22 at 11:16 +0800, Mark David Dumlao wrote:
2 > I'm sorry, I wasnt clear in my original post.
3 >
4 > When using gnome in ubuntu, clicking the sort by name in nautilus
5 > sorts using
6 > [Aa]-[Zz]
7 >
8 > When using gnome in gentoo, clicking the sort by name in nautilus
9 > yields
10 > A-Z-a-z.
11 >
12 > The same thing happens for coreutils ls, and so on.
13 >
14 Not for me.
15
16 > Is there any file or configuration I have to check to use case
17 > insensitive sorting
18 > in gnome?
19
20 Check your LC_ALL environment variable.
21
22 [~]$ LC_ALL=en_US ls
23 total 56K
24 4.0K bin/ 4.0K exclude 4.0K Private/ 4.0K Templates/
25 4.0K Desktop/ 4.0K Media/ 4.0K Projects/ 4.0K Virtual_Machines/
26 4.0K Documents/ 4.0K Music/ 4.0K python/
27 4.0K Downloads/ 4.0K Pictures/ 4.0K Python/
28
29 [~]$ LC_ALL=C ls
30 total 56K
31 4.0K Desktop/ 4.0K Music/ 4.0K Python/ 4.0K exclude
32 4.0K Documents/ 4.0K Pictures/ 4.0K Templates/ 4.0K python/
33 4.0K Downloads/ 4.0K Private/ 4.0K Virtual_Machines/
34 4.0K Media/ 4.0K Projects/ 4.0K bin/

Replies

Subject Author
Re: [gentoo-user] Non-case sensitive alphabetical sorting Mark David Dumlao <stuffinator@×××××.com>