Re: [arch-general] locale variables
Dear list,
I am fine tuning my Arch box, trying to understand and configuring step by step.
I just realised I didn't take care of all the file.pacnew in /etc, and I am now taking each one. Now dealing with *locale.gen.pacnew
*I am not sure to fully understand the locale set up. My box is in English, but I am living in Switzerland, write and read english and french, and uses a QWERTZU keyborad configured via keyborad layout in XFCE settings.
*[gabx@magnolia etc]$ locale -a C en_US en_US.iso88591 en_US.utf8 POSIX*
It seems to me some lignes about French and euro are missing. Am I right? Looking at the list etc/locale.pacnew, I was thinking adding these locales :
#fr_CH.UTF-8 UTF-8 #fr_CH ISO-8859-1 #fr_FR.UTF-8 UTF-8 #fr_FR ISO-8859-1 #fr_FR@euro ISO-8859-15
Am I right to add all these locales?
I understand I must run *$logal-gen* to add these modifications.
What should I do with the locale.gen.pacnew ?? How can I update my system correctly? I see that all locales are going to */usr/share/ i18n/locales*, and I guess locale.gen.pacnew will modify this list, but I have no idea how to do that.
TY for help.
Have you uncommented these in /etc/locale.gen, and then did the "$ locale-gen" thing? If you haven't, I think you should do it. And then merge the .pacnew file with the old one.
On 06/24/2012 04:28 PM, m a wrote:
Dear list, I am fine tuning my Arch box, trying to understand and configuring step by step.
I just realised I didn't take care of all the file.pacnew in /etc, and I am now taking each one. Now dealing with *locale.gen.pacnew *I am not sure to fully understand the locale set up. My box is in English, but I am living in Switzerland, write and read english and french, and uses a QWERTZU keyborad configured via keyborad layout in XFCE settings.
*[gabx@magnolia etc]$ locale -a C en_US en_US.iso88591 en_US.utf8 POSIX* It seems to me some lignes about French and euro are missing. Am I right? Looking at the list etc/locale.pacnew, I was thinking adding these locales : #fr_CH.UTF-8 UTF-8 #fr_CH ISO-8859-1 #fr_FR.UTF-8 UTF-8 #fr_FR ISO-8859-1 #fr_FR@euro ISO-8859-15 Am I right to add all these locales? I understand I must run *$logal-gen* to add these modifications. What should I do with the locale.gen.pacnew ?? How can I update my system correctly? I see that all locales are going to */usr/share/ i18n/locales*, and I guess locale.gen.pacnew will modify this list, but I have no idea how to do that.
TY for help.
Have you uncommented these in /etc/locale.gen, and then did the "$ locale-gen" thing?
If you haven't, I think you should do it. And then merge the .pacnew file with the old one. My only /etc/locale.gen is shown as a binary, with type "Genesis ROM" in Thunar (XFCE). Seems strange, as I can see it as a text file when using a text editor (maybe the .gen extension is mistaking Thunar).
So I shall edit it and uncomment the following lines : #fr_CH.UTF-8 UTF-8 #fr_CH ISO-8859-1 #fr_FR.UTF-8 UTF-8 #fr_FR ISO-8859-1 #fr_FR@euro ISO-8859-15 Then merge with locale.gen.pacnew? That's fine, but doesn't tell me IF I really need these locales on my system.
My Arch is in English, but the keyboard is a German Qwertz one. IIRC everything was set up during the installation. The only drawback for Arch and some other distros I experienced is, that for the numeric keypad the "," vs ".". I've got an old Suse installed in English with a German Qwertz keyboard and it's the only distro, where I don't have to edit "," vs "." manually. Btw. I'm to lazy to edit it for Arch and other distros, but somewhere is a place where the key mapping can be edited. I've forgotten what file does provide the key mapping. It becomes annoying, when using a calculator, but I'm an idiot, hence I always need a calculator and have some "stand alone" scientific calculator at hand.
participants (3)
-
Arno Gaboury
-
m a
-
Ralf Mardorf