You are not logged in.
Pages: 1
I've recently installed Arch Linux (thus with new install medium/systemd and such). I noticed when I try to run gparted
[jiewmeng@JM ~]$ gksu gparted
(process:4456): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
(process:4485): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
======================
libparted : 3.1
======================
(gpartedbin:4485): 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: 4485 Trace/breakpoint trap $BASE_CMD
I noticed the starting warning (about locale) appears if I start Sublime Text (subl) or a few other applications also.
[jiewmeng@JM ~]$ gksu gparted
(process:4456): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
The workaround for GParted is to use
export LC_ALL=C
But how do I fix this permanently?
[jiewmeng@JM ~]$ sudo locale
[sudo] password for jiewmeng:
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-US.UTF-8
LC_CTYPE="en-US.UTF-8"
LC_NUMERIC="en-US.UTF-8"
LC_TIME="en-US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en-US.UTF-8"
LC_MESSAGES="en-US.UTF-8"
LC_PAPER="en-US.UTF-8"
LC_NAME="en-US.UTF-8"
LC_ADDRESS="en-US.UTF-8"
LC_TELEPHONE="en-US.UTF-8"
LC_MEASUREMENT="en-US.UTF-8"
LC_IDENTIFICATION="en-US.UTF-8"
LC_ALL=
Seems like I am missing some file/directory?
Computer Science Student, Web Developer
Offline
Did you enable your desired locale in /etc/locale.gen and then run locale-gen?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Shouldn't it be en_US.UTF-8 instead of en-US.UTF-8
Check your /etc/locale.conf
Offline
Pages: 1