You are not logged in.
Pages: 1
Hi everyone! I'm a bit new to the community and am having some problems with my locale.conf file or at least I suspect that's what the problem is. You see, every-time I open Nemo or Perl I get a similar message in both,
Nemo:
(nemo:14810): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Perl:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MONETARY = "en_US",
LC_NUMERIC = "en_US",
LC_MEASUREMENT = "en_US",
LC_TIME = "en_US",
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale.conf:
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
And my locale.gen file is all uncommented except for this line,
en_US.UTF-8 UTF-8
Refer to, #10
Output of locale:
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC=en_US
LC_TIME=en_US
LC_COLLATE="en_US.utf8"
LC_MONETARY=en_US
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=en_US
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
Output of locale -a:
C
en_US.utf8
POSIX
Any help would be much appreciated. Thanks in advance. (n_n)
Last edited by WhiteHatHacker1 (2013-05-02 22:38:46)
Offline
Welcome to Arch!
Please use [code ][/code ] tags.
What is the output of locale -a?
Did you generate the locales as described in the wiki?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Also, check the quotation marks in locale.conf. If you posted your literal file then it looks strange.
Offline
Welcome to Arch!
Please use [code ][/code ] tags.
What is the output of locale -a?
Did you generate the locales as described in the wiki?
Oh sorry I didn't know there were such things I'll add them now.
Offline
Also, check the quotation marks in locale.conf. If you posted your literal file then it looks strange.
Sorry what I really should've done was use the code tags as cfr suggested instead of quoting it. I have fixed it.
Last edited by WhiteHatHacker1 (2012-12-31 20:13:10)
Offline
So how about the output of "locale" and "locale -a". Mine look like this:
$ locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
and
$ locale
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="en_US.UTF-8"
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=
Offline
So how about the output of "locale" and "locale -a". Mine look like this:
$ locale -a C en_US en_US.iso88591 en_US.utf8 POSIX
and
$ locale 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="en_US.UTF-8" 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=
Okay post is updated with the information.
Offline
I think for the ease of readability, it might be better to post the answers to questions in the new post. Then if you feel it is necessary, edit the first post indicating the post number containing more info.
Is there are reason you didn't enable both en_US.UTF-8 UTF-8 as well as en_US ISO-8859-1? Can you try uncommenting the ISO-8859-1 line as well, then regenerating with locale-gen?
Offline
I would also uncomment the plain en_US line.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I think for the ease of readability, it might be better to post the answers to questions in the new post. Then if you feel it is necessary, edit the first post indicating the post number containing more info.
Is there are reason you didn't enable both en_US.UTF-8 UTF-8 as well as en_US ISO-8859-1? Can you try uncommenting the ISO-8859-1 line as well, then regenerating with locale-gen?
Okay I enabled en_US ISO-8859-1 and thanks for the pointers.
Offline
I would also uncomment the plain en_US line.
I don't see any plain en_US line in locale.gen.
Offline
Is UTF supposed to be capitalized in locale.conf? Mine is as follows:
$ cat /etc/locale.conf
LANG=en_US.utf8
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
Never uncomment anything but utf8, or you will soon start to pull out your hair trying to view the unicode symbol for a pile of shit. (Or the letters æøå)
The errors looked more like a broken enviroment than locale, but try regenning anyway.
Last edited by Mr.Elendig (2013-01-01 01:34:12)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
cfr wrote:I would also uncomment the plain en_US line.
I don't see any plain en_US line in locale.gen.
Sorry. I'm confusing it with what I have in locale.conf:
LANG=cy_GB.UTF-8
LANGUAGE=cy_GB:cy:en_GB:en
LC_COLLATE=C
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
switch your locale.conf to en_US.utf8
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
switch your locale.conf to en_US.utf8
Isn't this what the OP has?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
en_US.utf8 != en_US.UTF8
They may both work. But I've only have the former.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
Oh, I see. The wiki uses the capitalised version, though (in the Beginner's Guide) so I was assuming that aspect of it was OK. (But maybe the wiki is wrong on this.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Nope, more likely I am - and either can be used. I was just trying to brainstorm what *might* be going wrong.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
switch your locale.conf to en_US.utf8
Sorry I wasn't on in a while, family stuff, anyway I switched it and still get the error.
Offline
Pages: 1