[Pkg-xfce-devel] Bug#436524: thunar ignores LC_COLLATE?
Mike Massonnet
mmassonnet at gmail.com
Wed Aug 8 06:21:42 UTC 2007
Hi,
Thunar uses some hidden options for the sorting. In your file
~/.config/Thunar/thunarrc set MiscCaseSensitive to TRUE. It has been
set by default to FALSE after a wishlist query in the bugzilla of Xfce
http://bugzilla.xfce.org/show_bug.cgi?id=2064.
Regards,
Mike
On Wed, Aug 08, 2007 at 02:20:00PM +1000, Trent W. Buck wrote:
> Package: thunar
> Version: 0.8.0-6
> Severity: normal
>
> The normal sort order for my locale appears to use case folding:
>
> $ with-temp-dir env -u LC_COLLATE bash
> with-temp-dir: entering directory `/tmp/tmp.hAbJR22098'
> $ touch .bzr README autogen.sh configure.ac src
> $ locale
> LANG=en_AU.utf8
> LC_CTYPE="en_AU.utf8"
> LC_NUMERIC="en_AU.utf8"
> LC_TIME="en_AU.utf8"
> LC_COLLATE="en_AU.utf8"
> LC_MONETARY="en_AU.utf8"
> LC_MESSAGES="en_AU.utf8"
> LC_PAPER="en_AU.utf8"
> LC_NAME="en_AU.utf8"
> LC_ADDRESS="en_AU.utf8"
> LC_TELEPHONE="en_AU.utf8"
> LC_MEASUREMENT="en_AU.utf8"
> LC_IDENTIFICATION="en_AU.utf8"
> LC_ALL=
> $ ls -1A
> autogen.sh
> .bzr
> configure.ac
> README
> src
>
> Since files beginning with an uppercase letter typically represent
> "important" files (e.g. README, COPYING), I override case folding by
> exporting LC_COLLATE=C. This ensures they are listed first, bringing
> them to my attention:
>
> $ export LC_COLLATE=C
> $ ls -1A
> .bzr
> README
> autogen.sh
> configure.ac
> src
>
> If I start thunar in this directory, it is immediately apparently that
> LC_COLLATE=C is being ignored; README is listed between configure.ac
> and src:
>
> $ thunar .
> $ exit
> with-temp-dir: leaving directory `/tmp/tmp.hAbJR22098'
>
More information about the Pkg-xfce-devel
mailing list