You are not logged in.
Pages: 1
Topic closed
I update gnome from 3.10 to 3.12, everything works fine except that I cannot open gnome-terminal, the error message shows
(process:2410): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1.
The other problem is that I cannot start fcitx(I use it to input chinese) either, there is somethings wrong in my locale, when I type 'locale ' it shows
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=
I try to reinstall the glibc or regenerate the locale-gen, but none of them solve the problem, so can anyone help me? thanks.
Last edited by wntyygtwxf (2014-04-11 10:25:48)
Offline
Issues with packages from [testing] belong in the [testing] repo forum.
Offline
You should enable the locale in /etc/locale.gen and run locale-gen.
Offline
You should enable the locale in /etc/locale.gen and run locale-gen.
I already did it, but it didn't solved the problem.
Offline
why did you set them to "en_US-UTF-8", but not "en_US.UTF-8"?
Offline
Post the output of
locale -a
localectl
Offline
why did you set them to "en_US-UTF-8", but not "en_US.UTF-8"?
I believe @zbelial has noticed the right problem and given the fix here.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
zbelial wrote:why did you set them to "en_US-UTF-8", but not "en_US.UTF-8"?
I believe @zbelial has noticed the right problem and given the fix here.
you are right, thank you guys!
Offline
why did you set them to "en_US-UTF-8", but not "en_US.UTF-8"?
thank you very much.
Offline
Post the output of
locale -a localectl
thank you for you kindness.
Offline
Sorry for not getting what zbelial meant <facepalm>
wntyygtwxf, multiple sequential posts from the same user are a form of bumping, which is against our forum etiquette. Next time please combine your responses into one post, OK?
Offline
What I meant is there should be a "."(point) between en_US and UTF-8, not a "-"(hyphen).
Is it because of my poor english? If so, sorry.
Edit: Now I see that you have got what I meant. Sorry for this addtional post.
Sorry for not getting what zbelial meant <facepalm>
Last edited by zbelial (2014-04-11 11:40:47)
Offline
I have the same problem after I upgraded to gnome 3.12, I can't use gnome-terminal.
The error is:
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1
Any one could help on this ?
Offline
@gogoer, did you also get a message about the C locale, or is this an unrelated issue (in which you need to start a new thread)?
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Sorry for not getting what zbelial meant <facepalm>
wntyygtwxf, multiple sequential posts from the same user are a form of bumping, which is against our forum etiquette. Next time please combine your responses into one post, OK?
ok, thank you.
Offline
I don't meet C locale error message after I exec gnome-terminal. Although that, I post below output.
~ locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
~ localectl
System Locale: n/a
VC Keymap: n/a
X11 Layout: n/a
@gogoer, did you also get a message about the C locale, or is this an unrelated issue (in which you need to start a new thread)?
Offline
I have resolved this issue. The reason I guess is also "locale"
"$localectl" output "System Locale: n/a" and I check the /etc/locale.conf I found this file is lost.
So after I press below command and reboot the machine, gnome-terminal could be started.
# localectl set-locale LANG="en_US.UTF-8"
Thanks all!
I don't meet C locale error message after I exec gnome-terminal. Although that, I post below output.
~ locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX
zh_CN
zh_CN.gb18030
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8~ localectl
System Locale: n/aVC Keymap: n/a
X11 Layout: n/aclfarron4 wrote:@gogoer, did you also get a message about the C locale, or is this an unrelated issue (in which you need to start a new thread)?
Offline
I could get it solved by the above and additionally executing
locale-gen
Last edited by sandstorm (2014-04-16 20:07:15)
Offline
Summarizingly I want to refer the user to read the wiki about Locale: https://wiki.archlinux.org/index.php/locale
tl;dr
1. Adapt your file
/etc/locale.gen
such that at least one language (line) is uncommented.
2. Then run as superuser
locale-gen
Offline
You are replying to a thread that is three years old, and marked as solved. Don't do that: https://wiki.archlinux.org/index.php/Co … bumping.22
Closing
Offline
Pages: 1
Topic closed