You are not logged in.

#1 2012-11-27 20:04:43

Syl
Member
Registered: 2009-06-24
Posts: 43
Website

[Solved] Fonts issue

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_CMD

For 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.UTF8



Thanks for your help :-)

Last edited by Syl (2012-11-27 20:16:55)


広島のお好み焼きおたくです

Offline

#2 2012-11-27 20:11:16

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [Solved] Fonts issue

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

#3 2012-11-27 20:16:41

Syl
Member
Registered: 2009-06-24
Posts: 43
Website

Re: [Solved] Fonts issue

That was it !!
Thanks a lot :-)


広島のお好み焼きおたくです

Offline

Board footer

Powered by FluxBB