Gentoo Archives: gentoo-user

From: "Boyd Stephen Smith Jr." <bss03@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] file sorting in nautilus
Date: Fri, 27 Apr 2007 07:14:35
Message-Id: 200704270209.24195.bss03@volumehost.net
In Reply to: [gentoo-user] file sorting in nautilus by Iain Buchanan
1 On Thursday 26 April 2007 01:15:17 Iain Buchanan wrote:
2 > recently I borrowed (and will probably soon buy a related model) a JVC
3 > "HD" HD video camera. (The first "HD" is for high def!).
4 >
5 > Anyway, the great feature is it records on a 40Gb hard disk, but the
6 > annoying thing is the video files are named in hex:
7 > MOV001
8 > MOV002
9 > MOV003
10 > ...
11 > MOV009
12 > MOV00A
13 > MOV00B
14 > ...
15 > MOV00F
16 > MOV010
17 >
18 > and so on. But when nautilus displays the files, it decides to do it
19 > "cleverly", and sorts all the 001 to 009, 010 to 019, etc. files _after_
20 > all the 00A to 00F, 01A to 01F files, which is in completely the wrong
21 > order, so trying to categorise / edit
22 > the files becomes a pain, as the more files I have, the further out of
23 > place they get! `ls` doesn't sort it like nautilus - it does what I
24 > expect and puts it in the right order.
25
26 Adjust your LC_ALL, LC_COLLATE, and/or LANG environment variables. (At least,
27 Nautilus /should/ respect those.) You might have to do something like:
28 LC_ALL="POSIX" nautilus
29 from a xterm-like application. You can use
30 env | grep ^L
31 from a new xterm-like seesion to see what nautilus "sees" by default.
32
33 --
34 Boyd Stephen Smith Jr. ,= ,-_-. =.
35 bss03@××××××××××.net ((_/)o o(\_))
36 ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
37 http://iguanasuicide.org/ \_/