[improvement] xkb configuration cannot be extended without rebuilding xkb-data package

Bug #1738630 reported by Daniel Jozsef on 2017-12-17
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)

Bug Description

Currently, the only way to specify xkb settings in a fully compatible way that behaves well with Gnome is through using xkb rules.

However, rules are not user-editable (NOBODY should have to manually edit ANYTHING under /usr/share on a system with an automatic package upgrade system) and xkb has no hook for adding rules. Heck, rules/evdev even has a big message on top saying that it shouldn't be edited.

This is an extremely big problem in my opinion. Both local configuration beyond what's supported, and creating redistributable keyboard layouts and options is extremely complex and ugly.

As a minimum, I'd like to be able to package up a 3rd party keyboard layout, geometry, or option as a deb file that contains the symbols, and a rules/evdev.part file, and be able to rebuild rules/evdev, evdev.lst and evdev.xml from .part's on a live system using dpkg-reconfigure...

Ideally however, an end user should be able to just drop an appropriate rules fragment file under /etc/X11/xkb/rules, and have it automatically parsed on startup.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xkeyboard-config (Ubuntu):
status: New → Confirmed
Changed in xkeyboard-config (Ubuntu):
importance: Undecided → Wishlist

I've run into the same problem.

Yes, a "plugin"-type system would solve the problem.

To get in on par with other Xorg config stuff, it should be able to read system wide configurations provided by the admin, but possibly also enable user specific layouts from their home directory (so i don't have to ask for root permission to reconfigure the keyboard layout when using some elses Linux computer for a day, i can just install my config file in ~/.config/xkb/* or whatever).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers