How to get UNIX sort order in the Thunar File Manager?

sktsee sktseer at gmail.com
Sat Feb 15 15:55:02 UTC 2014


On Thu, 13 Feb 2014 21:33:33 +0000, Jeffery Small wrote:

> Avi Greenbury <lists at avi.co> writes:
> 
>>Jeffery Small wrote:
>>> 
>>> Running Ubuntu 13.10 64-bit on an ASUS U56E
>>> 
>>> I want to get files and directories within Thunar to display in
>>> standard UNIX sorting order, with uppercase directories appearing
>>> before lowercase directories, and the same for files.  In other words,
>>> what I get is:
> 
>>What you're after isn't really 'UNIX sorting order' but ASCII order;
>>capital letters are earlier in the ASCII table than are lower-case ones.
> 
>>This stackexchange thread:
>> 
>>http://unix.stackexchange.com/questions/10581/is-it-possible-to-make-
thunar-sort-by-ascii-order
>>
>>mentions a bug apparently fixed in Thunar 1.6.x which can be worked
>>around by setting MiscCaseSensitive to true in ~/.config/Thunar/thunarrc
> 
>>Does that work? Which version of Thunar do you have?
> 
> Thanks Avi.  I have Thunar 1.6.3.  I made the change to the config file
> (it was previously set to FALSE), then logged out/in just to be sure.
> Unfortunately, this did not change the behavior of Thunar.
> 
> Other ideas?

I got this to work on Xubuntu 12.04 by setting LC_COLLATE="C" in
/etc/default/locale (below the LANG= setting) and rebooting. There's 
probably a better place to set that variable, but the other places I 
tried to set it were apparently getting overridden upon login.

-- 
sktsee





More information about the ubuntu-users mailing list