You are not logged in.
Pages: 1
Hello,
It seems that since I switched to systemd, whenever I launch a GTK application, I have got the following error :
$ sudo leafpad /etc/locale.gen
(process:7448): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
$ sudo gparted
(process:7466): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
======================
libparted : 3.1
======================
(gpartedbin:7466): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: locale::facet::_S_create_c_locale name not valid
/usr/sbin/gparted: line 99: 7466 Trace/breakpoint trap $BASE_CMDFor some application it is just a warning, for some other (gparted in the example above), it seems to make it crash ...
Here is the output of the locale command:
$ 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
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_GB.utf8
fr_FR.utf8
ja_JP.utf8
$ locale
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
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.utf8,fr_FR.utf8,ja_JP.utf8
LC_CTYPE="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_NUMERIC="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_TIME="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_COLLATE="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_MONETARY="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_MESSAGES="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_PAPER="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_NAME="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_ADDRESS="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_TELEPHONE="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_MEASUREMENT="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_IDENTIFICATION="en_GB.utf8,fr_FR.utf8,ja_JP.utf8"
LC_ALL=I tried with the both following locale settings :
$ cat /etc/locale.conf
#LANG=en_GB.utf8
LANG=en_GB.UTF8,fr_FR.UTF8,ja_JP.UTF8Thanks for your help :-)
Last edited by Syl (2012-11-27 20:16:55)
広島のお好み焼きおたくです
Offline
Your locale is messed up. Only spesify a single locale.
LANG="en_GB.UTF-8" should work fine
Last edited by Mr.Elendig (2012-11-27 20:13:42)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
That was it !!
Thanks a lot :-)
広島のお好み焼きおたくです
Offline
Pages: 1