LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring my locales in rc.conf? (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-my-locales-in-rc-conf-440619/)

riwaJR 05-01-2006 02:04 PM

Configuring my locales in rc.conf?
 
It used to be good until I updated libxfixes. Then everything got messed up until I downgraded it again. However, text doesn't work as it used to. I can't see subs (at least in spanish) well because all letter with (αν) etc turns into an (#) which makes them practicly unreadable. And I still get the:
203032/Share/video/movies/scary_movie_IV$ firefox
Code:

(firefox-bin:6343): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

when launching firefox. I tried a locale -a but there's also some bad output.
Code:

203025/Share/video/movies/scary_movie_IV$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
C
POSIX

On suggestion in another thread, I've tried commenting my setting in locale.gen and running locale-gen without succes. I've also tried picking my (swedish) locales in the list without improvements. What to do? I'm using Arch.

/Richard

bosewicht 05-02-2006 02:31 PM

Give this a try.

http://bbs.archlinux.org/viewtopic.p...orted++library

Edit /etc/locale.gen. Everything should be commented, except the two "sv_SE" lines and the "en_US" ones (better to keep the default). Check with 'grep -v ^# /etc/locale.gen'.
Run 'locale-gen'.
Run 'locale -a', pick what you want and copy that exact line into /etc/rc.conf.
Reboot.


All times are GMT -5. The time now is 07:35 AM.