[Bug 1176302] New: keyboard: Switch kbd keyboard defaults to xkb based ones
https://bugzilla.suse.com/show_bug.cgi?id=1176302 Bug ID: 1176302 Summary: keyboard: Switch kbd keyboard defaults to xkb based ones Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: sbrabec@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- In past, kbd had its own keymaps with different names and layouts than xkb. Several years ago we generated a set of new keymaps based on xkb keymaps, and moved old ones to the kbd-legacy sub-package. But these keymaps are still not used by default. To fix this situation, we have to: 1. Change YaST keymap selection. kbd keymap should have the same name as xkb keymap. 2a. Change keymap search path inside kbd. In case of name conflict prefer the one from /usr/share/kbd/keymaps/xkb. or 2b. When YaST will pick keymap, it will use fully qualified path. I would prefer 2a. 3. Write a migration %post script that will perform one-shot migration of legacy keymaps to xkb ones. (I will just fetch the history of keyboard/src/data/keyboards.rb 4. Remove kbd-legacy from the default installation. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1176302
Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
Cliff Zhao
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c1
Stefan Schubert
In past, kbd had its own keymaps with different names and layouts than xkb.
Several years ago we generated a set of new keymaps based on xkb keymaps, and moved old ones to the kbd-legacy sub-package.
But these keymaps are still not used by default.
To fix this situation, we have to:
1. Change YaST keymap selection. kbd keymap should have the same name as xkb keymap.
Could you please give us some examples in order to see where it should be done ? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c2
Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c3
Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c5
--- Comment #5 from Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c6
Stefan Dirsch
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c7
--- Comment #7 from Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
Josef Reidinger
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c8
Martin Vidner
the mechanism of assigning the locale default keymap in X
I'm not sure what you mean. Can you explain a bit, with an example? Also note that YaST internally uses some of the legacy keyboard names, which bleed over to systemd.rpm: /usr/share/systemd/kbd-model-map built from kbd-model-map.legacy -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c9
Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
Stanislav Brabec
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c11
--- Comment #11 from Stefan Hundhammer
https://bugzilla.suse.com/show_bug.cgi?id=1176302
https://bugzilla.suse.com/show_bug.cgi?id=1176302#c12
--- Comment #12 from Stefan Hundhammer
participants (1)
-
bugzilla_noreply@suse.com