Bug 2291116 - `evdev.xml` is out of date
Summary: `evdev.xml` is out of date
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xkeyboard-config
Version: 40
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-09 22:43 UTC by most_simmers0j
Modified: 2024-06-13 04:48 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-13 04:48:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description most_simmers0j 2024-06-09 22:43:50 UTC
/usr/share/X11/xkb/rules/evdev.xml, the file responsible for displaying available keyboard layouts names in settings doesn't have my layout (Rulemak) and probably several other layouts supported by XKB. Plus, the whole Russian section is a mess (there are 4 layouts with strange cryptic names, as if they were auto-generated by some script--I couldn't find their names or source looking up their keys, looks like they never existed. They all have "(m17n)" and a strange icon of point and gear at the end of their buttons in Settings window).

I tested it out--just adding rulemak entry to evdev.xml makes it works just fine.

Other languages are probably also affected. I believe you can make evdev contents be automatically generated from respective /symbols files.

Reproducible: Always

Comment 1 Peter Hutterer 2024-06-12 12:26:31 UTC
rulemak is in evdev.extras.xml, you'll need to enable extended input sources (in gnome tweaks - Keyboard) or I think this command should do the trick:

gsettings set org.gnome.desktop.input-sources show-all-sources true

the m17n sources are provided by the input methods but I don't know off hand how they're generated and by what specific component.


> I believe you can make evdev contents be automatically generated from respective /symbols files.

no, the xml files are hand-maintained upstream (though the *rules* files are now largely generated based on evdev.xml).


Note You need to log in before you can comment on or make changes to this bug.