You are not logged in.
Hi All,
I've just installed arch, and am wondering how to set e.g. LC_PAPER to a different locale because in rc.conf LOCALE="en_US.UTF-8", but I'd like to use A4 paper size instead of Letter.
I tried
export LC_PAPER="hu_HU.UTF-8"
in rc.local but it doesn't work.
Last edited by siriusb (2010-01-10 09:54:59)
Offline
You should be able to add locale exports (LC_PAPER, LC_ALL, and so on) to your ~/.bashrc. If you want to set it system wide you can add it to /etc/profile, /etc/profile.bash, or /etc/bash.bashrc.local (you can create it if it doesn't exist - it will be sourced by /etc/bash.bashrc).
Also make sure your locale is uncommented in /etc/locale.gen and run locale-gen an extra time to make sure the local is generated.
Last edited by hw-tph (2010-01-09 19:03:41)
Offline
Of course, I did what I had to do with locale.gen.
Now I'm using ~/.bashrc, but I want to understand how arch works, so I will try your suggestions. Thanks for your help.
Edit:
/etc/profile works
Last edited by siriusb (2010-01-10 09:52:21)
Offline