You are not logged in.
Ok, it's not a big deal, but it's driving me nuts...
I have 2 very similar Arch setups in dual boot on my laptop. I can't figure out why the display manager (LightDM in both cases) uses english locale and us keyboard layout only in one of the two installs.
They both have the same /etc/locale.conf:
LANG=it_IT.UTF-8
LC_COLLATE=Cand the same /etc/vconsole.conf:
KEYMAP=it
FONT=Lat2-Terminus16
FONT_MAP=8859-1_to_uni/etc/locale.gen are identical too.
The boot parameters are identical and the CPIO hooks and modules are the same.
Thanks for any help.
Besides, TTY keymap is correct and so are locale and keymap once I login (both in console and XFCE), so somehow - and only in one case - the DM alone can't retrieve the correct locale and keymap.
It has to be trivial, but I really don't know where else to look and I couldn't find any useful topic.
P.S.: I used to experience the same issue before I switched to systemd.
Last edited by hermes (2012-09-08 11:32:14)
Linux Registered User #362737
Offline
Did you remember to run locale-gen after editing "/etc/locale.gen" ?
Post the output of:
$ locale -a
$ locale
$ ls -l /etc/locale.confI have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Did you remember to run locale-gen after editing "/etc/locale.gen" ?
Yes.
Post the output of:
$ locale -a $ locale $ ls -l /etc/locale.conf
$ locale -a
C
POSIX
en_US
en_US.iso88591
en_US.utf8
it_IT
it_IT.iso88591
it_IT.iso885915@euro
it_IT.utf8
it_IT@euro
italian $ locale
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE=C
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL= $ ls -l /etc/locale.conf
-rw-r--r-- 1 root root 30 Jul 29 15:33 /etc/locale.confLinux Registered User #362737
Offline
Your locales are fine. Since "LightDM" is a graphical manager, it probably uses the Xorg keyboard layout. The keymap settings are for the console only (/etc/vconsole.conf should've tipped you off). You need to add a keyboard layout for Xorg.
See the Xorg wiki page and don't forget to mark the topic as solved.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Thank you, I missed the /etc/X11/xorg.conf.d/20-keymap.conf I have in the other system:
Section "InputClass"
Identifier "Acer Keyboard"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Option "XkbLayout" "it"
Option "XkbModel" "acer_laptop"
Driver "evdev"
EndSectionThe locale issue is solved by adding
LANG=it_IT.utf8to /etc/environment.
Linux Registered User #362737
Offline