Use a modern locale, but retain asciibetical sorting?

0

I bought a new laptop (an Ideapad Yoga), and put Linux Mint on it. Everything seems to be working well, but Mint's default LOCALE settings for my language choice (en-CA... not sure why CA when I'm in the US) makes for alphabetical settings and ignoring the leading period in hidden files, scattering them among the rest.

This annoys me. Especially in Emacs.

Is there a way to use a UTF-8 compliant locale, but retain the ASCIIbetical sorting to which I'm accustomed?

Elf Sternberg

Posted 2013-05-14T15:54:59.007

Reputation: 101

Answers

1

Put

export LC_COLLATE=C

in your ~/.profile or ~/.bash_profile. The traditional location is ~/.profile, but some distributions now use other files for setting the environment before starting your window manager.

garyjohn

Posted 2013-05-14T15:54:59.007

Reputation: 29 085