Re: [gentoo-user] file sorting in nautilus

2007-05-02 Thread Crayon
On Thursday 26 April 2007 14:15, Iain Buchanan wrote:

 Anyway, the great feature is it records on a 40Gb hard disk, but the
 annoying thing is the video files are named in hex:
 MOV001
 MOV002

At least its more logical than the totally braindead naming scheme on 
Nokia phones:

26042007.jpg
26042007(001).jpg
26042007(002).jpg

 so in short, is there any way around this?  Can I tell nautilus to stop
 being clever? I had a look in the options, but I can't find it. 

Isn't there a saying amongst Gnome people - Our way or no way! :)

 (There's always `emerge -C gnome; emerge kde` but I don't know if that
 will fix everything ;)

Yeah, good old konq just does the right thing :)

-- 
Crayon

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] file sorting in nautilus

2007-05-02 Thread Iain Buchanan
On Thu, 2007-05-03 at 00:27 +0800, Crayon wrote:
 On Thursday 26 April 2007 14:15, Iain Buchanan wrote:

  (There's always `emerge -C gnome; emerge kde` but I don't know if that
  will fix everything ;)
 
 Yeah, good old konq just does the right thing :)

just to confirm that konqueror sorts the right way, could you run this
little one-liner script?  And then tell me how it looks in konq?

mkdir test-sort; cd test-sort; for ((i=1; i=30; i++)); do touch `printf
MOV%03X.MOV\n $i`; done; cd ..; ls -l test-sort

If anyone else wants to run it in their file-browser of choice, and let
me know how it's ordered, I'd be grateful too :)

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Work consists of whatever a body is obliged to do.
Play consists of whatever a body is not obliged to do.
-- Mark Twain

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] file sorting in nautilus

2007-05-02 Thread Crayon
On Thursday 03 May 2007 09:55, Iain Buchanan wrote:

  Yeah, good old konq just does the right thing :)

 just to confirm that konqueror sorts the right way, 

I had tested konq before making the above claim :)

 could you run this little one-liner script?  And then tell me how it
 looks in konq? 

 mkdir test-sort; cd test-sort; for ((i=1; i=30; i++)); do touch
 `printf MOV%03X.MOV\n $i`; done; cd ..; ls -l test-sort

Looks good to me, same as shell output.

-- 
Crayon
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] file sorting in nautilus

2007-04-30 Thread Matthias Bethke
Hi Boyd,
on Friday, 2007-04-27 at 02:09:18, you wrote:
 Adjust your LC_ALL, LC_COLLATE, and/or LANG environment variables.  (At 
 least, 
 Nautilus /should/ respect those.)  You might have to do something like:
 LC_ALL=POSIX nautilus
 from a xterm-like application.

Usually the collation order should be the same on the shell and in
nautilus, right? I think it's really some of what the Gnome folks think
was clever in that case---nautilus also completely ignores certain name
prefixes like + and _ I put there to have the entries sorted on top.
Fortunately, Thunar does no such tricks.

 You can use
 env | grep ^L
 from a new xterm-like seesion to see what nautilus sees by default.

Or locale :)

BTW, your signature did not validate on this post. Do you have
no-escape-from-lines enabled? Then the last line above would have been
the reason.

cheers!
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpNHsqQSRS4d.pgp
Description: PGP signature


Re: [gentoo-user] file sorting in nautilus

2007-04-30 Thread Iain Buchanan
On Mon, 2007-04-30 at 14:29 +0200, Matthias Bethke wrote:

 Usually the collation order should be the same on the shell and in
 nautilus, right?

one would think so, but this isn't the case...

  I think it's really some of what the Gnome folks think
 was clever in that case

yes and no - I understand clever if they sort, for example, 1.xxx,
2.xxx ... 9.xxx, 10.xxx; which previously has always been sorted 1.xxx,
10.xxx, 2.xxx ...; but I don't understand clever with regard to the
backwards-hexadecimal sorting.  Why does 'A' come before '1'?

 ---nautilus also completely ignores certain name
 prefixes like + and _ I put there to have the entries sorted on top.
 Fortunately, Thunar does no such tricks.

well, thunar looks great - I just installed it hoping it would help my
hexadecimal files, but unfortunately it suffers from the same problem as
nautilus here.

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

How do I love thee?  My accumulator overflows.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] file sorting in nautilus

2007-04-27 Thread Boyd Stephen Smith Jr.
On Thursday 26 April 2007 01:15:17 Iain Buchanan wrote:
 recently I borrowed (and will probably soon buy a related model) a JVC
 HD HD video camera.   (The first HD is for high def!).

 Anyway, the great feature is it records on a 40Gb hard disk, but the
 annoying thing is the video files are named in hex:
 MOV001
 MOV002
 MOV003
 ...
 MOV009
 MOV00A
 MOV00B
 ...
 MOV00F
 MOV010

  and so on.  But when nautilus displays the files, it decides to do it
 cleverly, and sorts all the 001 to 009, 010 to 019, etc. files _after_
 all the 00A to 00F, 01A to 01F files, which is in completely the wrong
 order, so trying to categorise / edit 
 the files becomes a pain, as the more files I have, the further out of
 place they get!  `ls` doesn't sort it like nautilus - it does what I
 expect and puts it in the right order.

Adjust your LC_ALL, LC_COLLATE, and/or LANG environment variables.  (At least, 
Nautilus /should/ respect those.)  You might have to do something like:
LC_ALL=POSIX nautilus
from a xterm-like application.  You can use
env | grep ^L
from a new xterm-like seesion to see what nautilus sees by default.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpnQu2xGs02Y.pgp
Description: PGP signature


[gentoo-user] file sorting in nautilus

2007-04-26 Thread Iain Buchanan
Hi all,

recently I borrowed (and will probably soon buy a related model) a JVC
HD HD video camera.   (The first HD is for high def!).

Anyway, the great feature is it records on a 40Gb hard disk, but the
annoying thing is the video files are named in hex:
MOV001
MOV002
MOV003
...
MOV009
MOV00A
MOV00B
...
MOV00F
MOV010

 and so on.  But when nautilus displays the files, it decides to do it
cleverly, and sorts all the 001 to 009, 010 to 019, etc. files _after_
all the 00A to 00F, 01A to 01F files, so I end up with this:

MOV00A
MOV00B
...
MOV00F
MOV01A
...
MOV001
MOV002
MOV003
...
MOV009
MOV010
MOV011
...

which is in completely the wrong order, so trying to categorise / edit
the files becomes a pain, as the more files I have, the further out of
place they get!  `ls` doesn't sort it like nautilus - it does what I
expect and puts it in the right order.

so in short, is there any way around this?  Can I tell nautilus to stop
being clever?  I had a look in the options, but I can't find it.
(There's always `emerge -C gnome; emerge kde` but I don't know if that
will fix everything ;)

TIA,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Gomme's Laws:
(1) A backscratcher will always find new itches.
(2) Time accelerates.
(3) The weather at home improves as soon as you go away.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] file sorting in nautilus

2007-04-26 Thread Mark Knecht

On 4/25/07, Iain Buchanan [EMAIL PROTECTED] wrote:

Hi all,

recently I borrowed (and will probably soon buy a related model) a JVC
HD HD video camera.   (The first HD is for high def!).

Anyway, the great feature is it records on a 40Gb hard disk, but the
annoying thing is the video files are named in hex:

SNIP


which is in completely the wrong order, so trying to categorise / edit
the files becomes a pain, as the more files I have, the further out of
place they get!  `ls` doesn't sort it like nautilus - it does what I
expect and puts it in the right order.

so in short, is there any way around this?  Can I tell nautilus to stop
being clever?  I had a look in the options, but I can't find it.
(There's always `emerge -C gnome; emerge kde` but I don't know if that
will fix everything ;)

TIA,
--
Iain Buchanan iaindb at netspace dot net dot au


Assuming the files are time stamped then sort by date  time instead of by name?

HTH,
Mark
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] file sorting in nautilus

2007-04-26 Thread Iain Buchanan
On Thu, 2007-04-26 at 04:41 -0700, Mark Knecht wrote:
 On 4/25/07, Iain Buchanan [EMAIL PROTECTED] wrote:
  Hi all,
 
  recently I borrowed (and will probably soon buy a related model) a JVC
  HD HD video camera.   (The first HD is for high def!).
 
  Anyway, the great feature is it records on a 40Gb hard disk, but the
  annoying thing is the video files are named in hex:
 SNIP
 
  which is in completely the wrong order, so trying to categorise / edit
  the files becomes a pain, as the more files I have, the further out of
  place they get!  `ls` doesn't sort it like nautilus - it does what I
  expect and puts it in the right order.
 
  so in short, is there any way around this?  Can I tell nautilus to stop
  being clever?  I had a look in the options, but I can't find it.
  (There's always `emerge -C gnome; emerge kde` but I don't know if that
  will fix everything ;)

 Assuming the files are time stamped then sort by date  time instead of by 
 name?

Good idea, but they get timestamped to the local time when they get
copied to my PC.  I could copy them with -a (?) but that doesn't help
the ones I have already...

thanks!
-- 
Iain Buchanan iaindb at netspace dot net dot au

There is a great discovery still to be made in Literature: that of
paying literary men by the quantity they do NOT write.

-- 
[EMAIL PROTECTED] mailing list