Crate xkb_data

Source

Structs§

ConfigItem
Contains the name and description of a keyboard layout.
KeyboardLayout
A keyboard layout, which contains an optional list of variants, a name, and a description.
KeyboardLayouts
A list of keyboard layouts parsed from /usr/share/X11/xkb/rules/base.xml.
KeyboardVariant
A variant of a keyboard layout.
LayoutList
A list of keyboard layouts.
VariantList
A list of possible variants of a keyboard layout.

Functions§

all_keyboard_layouts
Fetches a list of keyboard layouts from /usr/share/X11/xkb/rules/base.xml and extends them with the list of keyboard layouts from /usr/share/X11/xkb/rules/base.extras.xml.
extra_keyboard_layouts
Fetches a list of keyboard layouts from /usr/share/X11/xkb/rules/base.extras.xml or the file defined in the X11_EXTRA_RULES_XML environment variable.
get_keyboard_layouts
Fetches a list of keyboard layouts from a path.
keyboard_layouts
Fetches a list of keyboard layouts from /usr/share/X11/xkb/rules/base.xml or the file defined in the X11_BASE_RULES_XML environment variable.