Note to self: Setting locales

Almost a year ago, when Crux jumped from 2.4 to 2.5, locales were handled differently. And for some reason, I always seem to forget them. This is just to remind myself of the commands I used to set them up, with en_US as a vanilla example.

localedef -i en_US -f ISO-8859-1 en_US
localedef -i en_US -f ISO-8859-1 en_US.ISO-8859-1
localedef -i en_US -f UTF-8 en_US.utf8

The available options are in /usr/share/i18n/locales/, which is the part I always seem to forget. And that is, after all, why this blog is here: To remind me of stuff. … :mrgreen:

About these ads

1 Response to “Note to self: Setting locales”

  1. 1 clam 2009/07/24 at 9:54 PM

    do what i do: make a symlink with a ridiculously long name in /var! :-D

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,317 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: