You are not logged in.
Pages: 1
There are 4 users on the system. The settings and localizations for the other users (German) are fine. Just on my account the localization of gnome stays English. However, the localization in LibreOffice and Firefox is okay.
Some background: I recently setup this PC with Archlinux 64bit and gnome3. Before, I was using Archlinux 32bit and XFCE. To keep the user settings, I mounted the home directories of the old system. No problem with that for the other users, just my account is not correclty localized.
$locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=
$ locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
german
POSIX
Any suggestions?
Last edited by Thomas_Do (2012-01-22 10:56:43)
Offline
If you've mounted a different ~, it seems likely that a sourced dotfile in this ~ is overwriting the system locale?
Arch i686 on Phenom X4 | GTX760
Offline
If you've mounted a different ~, it seems likely that a sourced dotfile in this ~ is overwriting the system locale?
I tried to identify any (dot)file that could have caused that problem. But so far no success.
Offline
top of my head:
~/.xinitrc
~/.xsessionrc
~/.profile
~/.bashrc
anything in ~./config/xfce4/ though that shouldn't be sourced if you're logging gnome through GDM now.
what's set in this file:
/var/lib/AccountsService/users/$USER
Arch i686 on Phenom X4 | GTX760
Offline
$ cat /var/lib/AccountsService/users/$USER
[user]
Language=de_DE.utf8
XSession=
~/.xsession-errors is quite interesting:
.
.
.
Window manager warning: Locale not understood by C library, internationalization will not work
(gnome-shell:1382): Clutter-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gnome-shell:1382): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(process:1396): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
.
.
.
Last edited by Thomas_Do (2012-01-21 19:51:52)
Offline
this is confusing, GDM sources that file to set the locale for the user session. Something must be overwriting it only for some applications. Is the locale only wrong for gnome-bundled applications?
do you have a ~/.config/locale.conf?
does an application start as german if you start as follows:
$ LANG=de_DE.utf8 application
Last edited by stefanwilkens (2012-01-21 19:58:00)
Arch i686 on Phenom X4 | GTX760
Offline
Is the locale only wrong for gnome-bundled applications?
As I wrote above e.g. Firefox & LibreOffice are in German. However Gimp is also English.
do you have a ~/.config/locale.conf?
I had one, but I deleted it. No difference.
$ LANG=de_DE.utf8 nautilus
is in English
Offline
verify that these are the only locales uncommented in /etc/locale.gen
de_DE.UTF-8
de_DE
de_DE@euro
run locale-gen as root
log the user out and log back in.
Arch i686 on Phenom X4 | GTX760
Offline
Done. No effect.
Thanks for your patience :-)
Offline
Done. No effect.
Thanks for your patience :-)
I'm just confused, something has to be overwriting your user's specific locale but only for specific applications. Firefox is GTK, but so is nautilus so that's not a common devisor.
I take it that creating a new user with a clean ~ works properly?
Arch i686 on Phenom X4 | GTX760
Offline
I take it that creating a new user with a clean ~ works properly?
Yes, that works fine.
When I went to user settings to create a new account the window title was in German (Benutzerkonten), the rest in English ?!?
Offline
I solved the issue, although I still do not know what was wrong. Because I could not identify the files that were responsible for the behavior, I thought about replacing my home directory by a fresh installation and copying back important files from my original home folder stepwise.
Because this would have been quite time consuming, I first tried something "quick and dirty". For this I made a fresh user account "test" and deleted it immediately afterwards while keeping the files in /home/test. Then I changed the owner of /home/test/ to my user name and overwrote all files in my home folder (after making a backup) with the content of /home/test. After this my account was completely localized in German! I just had to change some settings in Gnome (wallpaper, dash settings, activating extensions) and everything worked fine. However, I still do not know whether it was a missing file that caused this behavior or a file with wrong settings.
@ stefanwilkens: Thank you very much for your help.
Offline
I solved the issue, although I still do not know what was wrong. Because I could not identify the files that were responsible for the behavior, I thought about replacing my home directory by a fresh installation and copying back important files from my original home folder stepwise.
Because this would have been quite time consuming, I first tried something "quick and dirty". For this I made a fresh user account "test" and deleted it immediately afterwards while keeping the files in /home/test. Then I changed the owner of /home/test/ to my user name and overwrote all files in my home folder (after making a backup) with the content of /home/test. After this my account was completely localized in German! I just had to change some settings in Gnome (wallpaper, dash settings, activating extensions) and everything worked fine. However, I still do not know whether it was a missing file that caused this behavior or a file with wrong settings.@ stefanwilkens: Thank you very much for your help.
Perhaps the locale for gnome apps is stored in gconf / dconf then... hmmm. There's just so many places that can arbitrarily overwrite system-wide config, lmfao.
glad you got it sorted, I was ready to suggest simply making a new account to be honest.
Arch i686 on Phenom X4 | GTX760
Offline
Pages: 1