You are not logged in.
Pages: 1
first i noticed this error when I started (gqview worked fine other than this error) gqview from the command line:
(process:28591): Gdk-WARNING **: locale not supported by C library
(gqview:28591): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Then i noticed this error when trying to run hp-toolbox (which wouldn't run at all)
error: Unable to set locale.
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 38, in ?
from base.g import *
File "/usr/share/hplip/base/g.py", line 136, in ?
locale.setlocale(locale.LC_ALL, 'en_US.UTF-8')
File "/usr/lib/python2.4/locale.py", line 381, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
This is what is in my rc.conf:
cat /etc/rc.conf | grep -i locale
# LOCALE: available languages can be listed with the 'locale -a' command
LOCALE="en_US.utf8"
and this is when I run locale -a
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
any suggestions?
It's a very deadly weapon to know what you're doing
--- William Murderface
Offline
EDIT /etc/locale.gen
for english....
Uncomment the one english line.........
#en_SG.UTF-8 UTF-8
#en_SG ISO-8859-1
en_US.UTF-8 UTF-8
#en_US ISO-8859-1
#en_ZA.UTF-8 UTF-8
Then run
locale-gen
Offline
Thank you crouse! I've never had to do that before...
It's a very deadly weapon to know what you're doing
--- William Murderface
Offline
Pages: 1