[Pkg-xfce-devel] Bug#436524: thunar ignores LC_COLLATE?

Trent W. Buck trentbuck at gmail.com
Wed Aug 8 04:20:00 UTC 2007


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'


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages thunar depends on:
ii  desktop-file-utils          0.12-1       Utilities for .desktop files
ii  libatk1.0-0                 1.18.0-2     The ATK accessibility toolkit
ii  libc6                       2.6.1-1      GNU C Library: Shared libraries
ii  libcairo2                   1.4.10-1+b2  The Cairo 2D vector graphics libra
ii  libdbus-1-3                 1.1.1-3      simple interprocess messaging syst
ii  libdbus-glib-1-2            0.74-1       simple interprocess messaging syst
ii  libexo-0.3-0                0.3.2-5      Library with extensions for Xfce
ii  libfreetype6                2.3.5-1+b1   FreeType 2 font engine, shared lib
ii  libglib2.0-0                2.12.13-1    The GLib library of C routines
ii  libgtk2.0-0                 2.10.13-1    The GTK+ graphical user interface 
ii  libice6                     2:1.0.3-3    X11 Inter-Client Exchange library
ii  libpango1.0-0               1.16.5-1     Layout and rendering of internatio
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libthunar-vfs-1-2           0.8.0-6      VFS abstraction used in thunar
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxfce4util4               4.4.1-1      Utility functions library for Xfce
ii  shared-mime-info            0.22-1       FreeDesktop.org shared MIME databa
ii  thunar-data                 0.8.0-6      Provides thunar documentation, ico
ii  xfce4-panel                 4.4.1-1      The Xfce4 desktop environment pane

Versions of packages thunar recommends:
ii  dbus                          1.1.1-3    simple interprocess messaging syst
ii  gamin                         0.1.8-2    File and directory monitoring syst
ii  hal                           0.5.9.1-2  Hardware Abstraction Layer

-- no debconf information




More information about the Pkg-xfce-devel mailing list