installer icon indicating copy to clipboard operation
installer copied to clipboard

Keyboard layout issue with encryption

Open antonincms opened this issue 7 years ago • 3 comments

Hello !

Description of bug : When you install an encrypted lvm version of anarchy with fr locales, the layout of keyboard is in qwerty at boot, and not the layout choosed by user in installation (azerty for me).

My approach :

  • I firstly looked in https://github.com/deadhead420/anarchy-linux/blob/master/lib/configure_system.sh line 97, expecting the keymap hook missing. But it was here. So I compared your config and mine (bc i have a script to install my config) and the only difference was the /etc/vconsole.conf Yours contain KEYMAP=fr and mine :
KEYMAP=fr-latin9
FONT=lat9w-16
  • Seeing that, i changed, and rebooted and all was functionning as it should.
  • I tried to reproduce bug, changing back KEYMAP=fr-latin9 \n FONT=lat9w-16 to KEYMAP=fr and all was still functionning as it should.

So I imagine that no

# mkinitcpio -p linux

is done after changing locales.

I didn't tried to reinstall bc my poor internet connection where I was, but i could if you want. But as I can see in .zhistory file, the only file I changed (bc opened with sudo) was /etc/vconsole.conf, and I rolled it back as it was. The only other command I launched was "sudo mkinitcpio -p linux".

[edit] I reinstalled and I confirm, the bug disapear with the command "sudo mkinitcpio -p linux" launched at first boot.

Advice : when I launched "# mkinitcpio -p linux" i had the warning :

==> WARNING: consolefont: no font found in configuration

that i wasn't having with my config. You should maybe add FONT=lat9w-16 (or another one) in vconsole.conf

antonincms avatar Jan 05 '18 18:01 antonincms

it works in german for me, but you have to update with the mkinitcio -p linux command after the install. dont know why...

Iljitsch avatar Jan 07 '18 12:01 Iljitsch

@Iljitsch What do you mean by "it works [...] but you have to update" ? Is the keymap in QWERTZ just after first install or do you need, as I needed, to launch 1 time the command sudo mkinitcpio -p <kernel> ?

antonincms avatar Jan 07 '18 14:01 antonincms

There is some sort of keyboard locale issue for the terminal. I hadn't posted an issue, because it's close enough. It might be the same as your problem. In a terminal, I think my key presses may be set for Great Britain. My delete key produces the ~ symbol, but in GUI applications like my web browser, all of my key presses work as they should.

nastybuttler322 avatar Jan 11 '18 04:01 nastybuttler322