Confirmed on Ubuntu Unity 24.04.5 (noble), plymouth
24.004.60-1ubuntu7.2, plymouth-theme-ubuntu-unity 22.10: with
XKBLAYOUT="fr" (XKBVARIANT="oss_latin9") the LUKS passphrase prompt
shows "ie" instead of "fr". The passphrase itself is typed with the
correct French layout; only the label is wrong.

Evidence:
- /usr/share/plymouth/themes/ubuntu-unity/keymap-render.png is 8495x50 px (md5 
59fd88f662448329ae6d0a7aa5738a8e), while libply-splash-graphics 24.004 uses the 
offsets of ply-keymap-metadata.h, generated for the 25881x50 px image shipped 
by plymouth-theme-spinner (md5 e8482a7bde530b1135ec486a04d5fd9a).
- The "fr" entry is { "fr", 3472, 44, PLY_LAYOUT_TERMINAL }. Cropping the 
ubuntu-unity image at x=3472, width 44 gives "ie"; cropping the spinner image 
at the same place gives "fr".
- The package is still 22.10 / 22.10build1 in every published series up to 
resolute and stonking, so all of them are affected.

Workaround (tested on a ThinkPad X201, legacy BIOS, LUKS):

    sudo dpkg-divert --package local --rename --divert 
/usr/share/plymouth/themes/ubuntu-unity/keymap-render.png.orig --add 
/usr/share/plymouth/themes/ubuntu-unity/keymap-render.png
    sudo cp /usr/share/plymouth/themes/spinner/keymap-render.png 
/usr/share/plymouth/themes/ubuntu-unity/keymap-render.png
    sudo update-initramfs -u

After a reboot the indicator shows "fr".

Suggested fix: the same as edubuntu-artwork, lubuntu-artwork and
ubuntustudio-look — ship the current keymap-render.png from plymouth-
theme-spinner in plymouth-theme-ubuntu-unity.

AI disclosure: prepared interactively with Claude Code (Anthropic's AI
coding assistant). Every action was requested, reviewed and approved by
me; nothing was decided or published autonomously.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063895

Title:
  Multiple plymouth themes display wrong keyboard layout for decryption
  due to outdated keymap-render.png

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/edubuntu-artwork/+bug/2063895/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to