Cachyos-bootanimation: Wrong keyboard layout shown at LUKS password prompt

On the LUKS password screen at boot, when using the default cachyos-bootanimation boot splash screen, the keyboard layout says “no” (Norway) for me instead of “us” (my actual layout). Another user had a similar issue, but with “emacs” replacing “de”: LUKS passphrase, keyboard layout

The workaround of switching to another theme (bgrt), as discussed in that thread, shows the correct “us” label for me.

If you compare /usr/share/plymouth/themes/cachyos-bootanimation/keymap-render.png to /usr/share/plymouth/themes/spinner/keymap-render.png (bgrt uses spinner’s keymap-render.png), spinner’s “us” lines up with cachyos-bootanimation’s “no.” The same is true for “emacs” and “de.” A fix might be for cachyos-bootanimation to use spinner’s keymap-render.png.

Replacing keymap-render.png from /usr/share/plymouth/themes/spinner/ folder and putting it to /usr/share/plymouth/themes/cachyos-bootanimation/ had fixed it for me.

Be sure to keep backup of old keymap-render.png file before replacing.

Make sure to run:

sudo plymouth-set-default-theme -R cachyos-bootanimation

I am using Slovak-qwerty keyboard layout and it was shown as UA (Ukraine one). After changing the file it correctly shows as SK.

Odd thing however is that even tho i have sk-qwerty in /etc/vconsole.conf the keymap is still US (the keyboard shows as SK but the map is US). But thats an another issue i guess. (Edit: to clarify this was happening before this cosmetic error UA > SK above which got fixed by replacing the file). The replacement of file has no effect on keymap being wrong. Don’t want to pollute the thread with offtopic but maby someone had similar issue :slight_smile:

cat /etc/vconsole.conf

Containts:

KEYMAP=sk-qwerty

Hi
yesterday i make an update on my Latop now i get US keyboard on Luks.
tried the change to BGRT > still us
Changed the keymap-render.png , CP from Spinners to cachy-boot …
/etc/vconsole.conf > KEYMAP=de-latin1-nodeadkeys

there are maybe another configs to check ?