LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   File sorting problem (https://www.linuxquestions.org/questions/linux-general-1/file-sorting-problem-148767/)

Kerridis 02-21-2004 11:32 AM

File sorting problem
 
Recently I installed SuSE 9.0 and KDE 3.2 (instead of SuSE 8.2 and KDE 3.1.4) and now the sorting of files in konqueror and everywhere except krusader and mc is completely different:

the hidden files with the dot at the beginning are not the first files shown anymore when I log in as user (logging in as root it's ok).

Furthermore special keys like underscore or so are completely ignored when sorting the files (e.g. ab_d.png comes after abc.png and a2.png comes before a.png - I would expect: a.png a2.png ab_d.png abc.png)... And that concerns user AND root.

I have to go through a lot of thinking where to look - every time I look for a file...
Thought usability would go better with every new release...

At first I suspected SuSE of compiling something weird into their packages - but the new Knoppix is sorting files the same way...

It also can't be KDE or X for it also happens on a textconsole...

So pleeeaze where do I have to change something to get the normal sorting back again?
It would be a lot of relief and easing if I as user at least could get my dot-files to the beginning of the sorting...

:confused: :scratch: :cry:

Tinkster 02-21-2004 01:40 PM

No idea, but the wild guess is it's related to the
locale-settings. The "normal" behaviour happens
when using C/Posix as the locale ... the "new"
behaviour may well have to do with some national
sort order ...


Cheers,
Tink

Kerridis 02-28-2004 02:57 PM

Thanks for your answer, but I don't think it has something to do with the locale.
Root also is set to German...
And I have tested it with user set to "C" (via kcontrol)... no difference...
Or do I have to change that somewhere else?

Kerridis 03-08-2004 10:44 PM

solved!
 
Tinkster, you were right! It had to do with Posix... I just looked at the wrong places for language settings...

Now I found /etc/sysconfig/language and changed RC_LC_COLLATE form "" to "POSIX" -
and all my dot-files are at the beginning as it should be. And even "_b.txt" finally comes before a.txt again :)


All times are GMT -5. The time now is 01:47 PM.