On Sunday 25 Aug 2002 17:53, Lonnie Borntreger wrote:
> On Sun, 2002-08-25 at 07:46, Peter Ruskin wrote:
> > KDE file sorting.  I like to see traditional UNIX file sorting, like
> >     .X  .a  X  a
> > ...but I've never been able to make that setting stick in konqueror.
> > It's an old KDE bug (reported) that goes back to KDE 2.0 but nobody
> > bothers to fix.  However, now we have a Mandrake KDE bug that sorts
> >     a  .b  W  .X  Y
> > ...which is _very_ annoying.
>
> Been there, dealt with that.  It's a locales issue, and at a level
> lower than KDE.  If you log in to the command line, you'll see the same
> behavior.
>
> If you unset the LC_* and LANG variables, then the sorting will be the
> "traditional" way.  My guess is that it is done this way to be nicer to
> people moving from Windows, where W and w are considered equivalent.
>
> Initially (in the cooker time-frame before 8.0), I just zeroed out the
> /etc/sysconfig/i18n file.  However, I seem to remember that messed with
> my font sizes in Gnome apps I ran.  So, I made changes to /etc/profile
> to not run /etc/profile.d/*lang.sh, and then went into /etc/X11 and
> commented out lines in Xsession and prefdm that sourced in the
> /etc/profile.d/*lang.sh file.  Logged in again, and all was well.
>
> It's been a while so I may not remember everything I did, but now my
> sorting is "traditional".
>
> Of course, this is English specific.
>
You're absolutely right Lonnie.  Thanks for that information and my 
apologies for falsely maligning Mandrake.  What I do now is add the 
following lines to /etc/profile:
export LANG=en_GB
export LANGUAGE=en_GB:en
export LC_MESSAGES=en_GB
export LC_MONETARY=en_GB
export LC_TIME=en_GB
export LC_COLLATE=POSIX
... and then `locale` gives me:
$ locale
LANG=en_GB
LC_CTYPE="en_GB"
LC_NUMERIC="en_GB"
LC_TIME=en_GB
LC_COLLATE=POSIX
LC_MONETARY=en_GB
LC_MESSAGES=en_GB
LC_PAPER="en_GB"
LC_NAME="en_GB"
LC_ADDRESS="en_GB"
LC_TELEPHONE="en_GB"
LC_MEASUREMENT="en_GB"
LC_IDENTIFICATION="en_GB"
LC_ALL=

...and my sorting is in order again.
-- 
Gentoo Linux (portage-2.0.28).  KDE: 3.0.3  Qt: 3.0.5
AMD Athlon(tm) XP 1600+ 512MB   Kernel: 2.4.19-win4lin. GCC 2.95.3
Linux user #275590 (http://counter.li.org/).  up 1:45.
#=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=#


Reply via email to