You are not logged in.

#1 2013-04-30 02:52:54

xava
Member
Registered: 2013-04-30
Posts: 8

[SOLVED] Nautilus File Sorting (Gnome File Manager)

Hello,

i read that LC_COLLATE defined in /etc/locale,conf change the way how nautilus sort the files,
i try diferent opcions but i did't found the LC_COLLATE that order:

- up directories by name
- under files by name

any idea?


i leave a cat of my /etc/locale.conf

LANG="en_US.utf8"

# Keep the default sort order 
# should appear at the start of a directory listing.)
LC_COLLATE="POSIX"

# Set the short date 
LC_TIME="es_ES.utf8"

Thanks you in advance

Last edited by xava (2013-04-30 14:19:15)

Offline

#2 2013-04-30 09:20:32

Hindol
Member
Registered: 2008-05-07
Posts: 15

Re: [SOLVED] Nautilus File Sorting (Gnome File Manager)

No need to fiddle with LC_COLLATE. And by the way, the weird sort you are talking about is just the new default. To get the desired behaviour,

  • Open dconf editor (in the dash type dconf and it will come.)

  • Browse to org -> gnome -> nautilus -> preferences

  • Enable sort-directories-first, smile

Offline

#3 2013-04-30 13:35:30

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Nautilus File Sorting (Gnome File Manager)

If you need to do this on the commandline use ls --group-directories-first .

Offline

#4 2013-04-30 14:18:44

xava
Member
Registered: 2013-04-30
Posts: 8

Re: [SOLVED] Nautilus File Sorting (Gnome File Manager)

Thanks you,
that work!

Offline

Board footer

Powered by FluxBB