]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
kbd-model-map: add a mapping for switched czech qwerty/us
authorAdam Williamson <awilliam@redhat.com>
Thu, 22 Sep 2022 22:08:43 +0000 (15:08 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 23 Sep 2022 01:19:41 +0000 (10:19 +0900)
See https://bugzilla.redhat.com/show_bug.cgi?id=2121106 for the
background on this. One of Fedora's QA folks ran an install
and chose two keyboard layouts: Czech (qwerty) and US. Due to
the sad details of how the whole logic flow for trying to decide
what kbd layout best matches a given xkb config works (see
details in the bug comments), we wound up deciding the best-
matching kbd layout for this situation was cz-us-qwertz, which
is a czech/us switched layout, but is qwertz, not qwerty. This
seems like a poor outcome. Adding this line should result in us
picking cz-qwerty in this case. Which may be the 'legacy'
cz-qwerty.map from upstream kbd project (which is switched
cz/us), or may be the auto-converted xkb layout (which obviously
isn't switched). But either way, at least its primary mode is
Czech qwerty, which seems like a *better* choice than a layout
whose primary mode is Czech qwertz.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
src/locale/kbd-model-map

index 46708a7ebe93d28931c60e394d8b662eb3db8037..348e90f0eba2ee9339189a663731e9b09796ce9f 100644 (file)
@@ -33,6 +33,7 @@ fr-pc                 fr      pc105           -               terminate:ctrl_alt_bksp
 bg_pho-utf8            bg,us   pc105           ,phonetic       terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
 it-ibm                 it      pc105           -               terminate:ctrl_alt_bksp
 cz-us-qwertz           cz,us   pc105           -               terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
+cz-qwerty              cz,us   pc105           qwerty          terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
 br-abnt2               br      abnt2           -               terminate:ctrl_alt_bksp
 ro                     ro      pc105           -               terminate:ctrl_alt_bksp
 us-acentos             us      pc105           intl            terminate:ctrl_alt_bksp