Nautilus is not honoring the system-wide LC_COLLATE

Bug #588328 reported by Uqbar on 2010-06-01
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)

Bug Description

Binary package hint: nautilus

In my home directory I have the following directories:
In /etc/default/locale I also have

The "ls -ad" command correctly shows:
.Skype .config Desktop bin
as "." is ASCII 46, "A" is ASCII 65 and "a" is ASCII 97.
Nautilus, instead shows:

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: nautilus 1:2.30.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Jun 1 16:56:30 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
 PATH=(custom, user)
SourcePackage: nautilus

Uqbar (uqbar) wrote :
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (

Changed in nautilus (Ubuntu):
importance: Undecided → Low
Angel Abad (angelabad) on 2010-06-09
Changed in nautilus:
importance: Undecided → Unknown
status: New → Unknown
Changed in nautilus:
status: Unknown → New
Pedro Villavicencio (pedro) wrote :

Thank you for sent it upstream.

Changed in nautilus (Ubuntu):
status: New → Triaged
Cedric L'homme (rangzen) wrote :

Nautilus use it if you define LC_COLLATE in /etc/environment instead of /etc/default/locale

Uqbar (uqbar) wrote :

Cedric, LC_COLLATE (as well as all LC_* settings) are environment variables when they are defined, and not settings in a configuration file.
Nautilus should inspect its environment for localization variables like $LANGUAGE and, of course, $LC_*.

Changed in nautilus:
importance: Unknown → Medium
dobey (dobey) wrote :

This appears to be that Nautilus simply sorts hidden files (and directories) after all the visible files and directories, and has nothing to do with what the value of LC_COLLATE is (the hidden files and directories are correctly sorted within themselves), but is simply a bug that it is sorting them separately, rather than as part of the whole set.

Uqbar (uqbar) wrote :

Try this in an empty directory:
~ touch A b C d
Then try Nautilus in that directory with LC_COLLATE="C".
You'll see this order: A b C d instead of the right one: "A C b d".
It doesn't matter whether the first character in the name is a "." or not.
That "simply sorts..." sentence would require a quite complex and weird code in the Nautilus sources, though.

Changed in nautilus:
status: New → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.