]> git.ipfire.org Git - thirdparty/plymouth.git/commit
device-manager: Fall back to reading from tty if no xkb layout specified
authorRay Strode <rstrode@redhat.com>
Wed, 30 Nov 2022 14:51:17 +0000 (09:51 -0500)
committerRay Strode <rstrode@redhat.com>
Wed, 30 Nov 2022 14:53:54 +0000 (09:53 -0500)
commitf6852a7a82a4226f2738da5fdbaf81cd80039443
treedb4fb6813af21f8a64fa089081771b8fda4b2861
parenta3f9824d9a3f894eae4f7b9dd720fc3c1eb11ecc
device-manager: Fall back to reading from tty if no xkb layout specified

At the moment if a user doesn't specify a xkb layout in vconsole.conf we
just fall back to assuming a us qwerty layout.

This isn't really optimal, since it might not match the keyboard.
Furthermore, the tty does have a usable layout, so it makes more sense
to fall back to it.

This commit changes device manager to disable reading from /dev/input
if the user doesn't specify a layout to use in vconsole.conf.

Close https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/199
src/libply-splash-core/ply-device-manager.c