You are not logged in.

#1 2006-05-01 18:36:21

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 215

Configuring my locales in rc.conf?[SOLVED]

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

(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.

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?

/Richard


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#2 2006-05-02 01:14:25

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Configuring my locales in rc.conf?[SOLVED]

I already saw the other thread, so to be really sure...

(as root)
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.

Everything fine?


1000

Offline

#3 2006-05-02 09:05:46

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 215

Re: Configuring my locales in rc.conf?[SOLVED]

Thanks! I guess I just needed a comprehensive guide to solve me simple problem. I got everything in swedish now (I guess I just switch it back to en_US) but at least (I hope) I can now watch subtitles without (# [i]) etc. I don't even get the:

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 

anymore. Thanks for the help!

/Richard


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

Board footer

Powered by FluxBB