* top posting--- easier to follow
Here's a snip for other mere mortals
Stick this in your profile file, or your .bashrc, or your .xinitrc... I think profile is where it belongs.
and yes the guru's are all right, "a" with come after "A", "d" after "D" in nautilus.
I tested to see if ELEMFM (another file manager) also started collating like this, no it doesnt, it still sticks "a" after "X"... oh well.
Note if you on debian and your "locale - a" shows no locales, then apt-get install localeconf, and it will kick off the installation of locales.
LANG=en_US LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=en_US
export LANG export LC_CTYPE export LC_NUMERIC export LC_TIME export LC_COLLATE export LC_MONETARY export LC_MESSAGES export LC_PAPER export LC_NAME export LC_ADDRESS export LC_TELEPHONE export LC_LC_MEASUREMENT export LC_TELEPHONE export LC_IDENTIFICATION export LC_ALL
Just another little thing, in nautilus, I also thought quick navigation was broken. ie if you type the first letter of a file, it goes there but if you hit the letter again, it does not move to the next one. The guru's said... just type the actual file name, it goes there, nice.
Oh, if you on debian, nautilus is really only now getting really good in SID, before that it had issues.
Can do things like right click and make a new folder, new file, file associations etc. Yeah, watch out M$, someones overtaking.
Thx Gareth... damn you good.
Gareth Gregor wrote:
The guru's may be a little off too. 'Cause A comes before X and a comes before x, but a comes after X.
In my normal blundering way I sent the guys at nautilus an email, "Hey you got bugs, why does 'a' come after 'X' in the file lists, its not logical".
The super guru's sent me an email... "Hey Einstein, you got the C locale running... just change the locale".
Confused? Ok, files with a capatal letter as the first letter will come before the ones with lowercase letters, as will Directories.....
Anyway, to answer the questino there are many many ways to change the Locale on linux, the one way is when GDM comes up to login you change the "lang" type on the menu and the then login, but seen as you dont use GDM and just use xinit then you can do this a few otherway. Run the command locale and then see its output.
Then to change it you can use locale -a or -m to display all the different ones there are, remember to pipe (|) it to less cause there are a lot. Then cause its only bothering you in X then in your .xinitrc file you can reset them so when X starts up it uses them. eg....
locale >> ~/.xinitrc (make sure you use the >> and not >)
then open .xinitrc and change the POSIX to en_ZA or en_US depending on where you be from....
Or just use
local | sed s/POSIX/en_ZA/g >> ~/.xinitrc
-G- -- All email has been scanned and found to be free from viruses. Should you have reason to suspect this email contains a virus, Please contact [EMAIL PROTECTED], with a brief description.
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
