libxkbcommon  1.13.1
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
Deprecated List
Page Custom configuration
$HOME/.xkb/ as a legacy alternative to the previous XDG option.

System

3

System-wide configuration

$XKB_CONFIG_EXTRA_PATH if set, otherwise <sysconfdir>/xkb – where <sysconfdir> is a placeholder for the system configuration directory (/etc on most distributions). Example: /etc/xkb.

4

XKB extension packages data

See Packaging keyboard layouts.

5

Canonical XKB root

$XKB_CONFIG_ROOT if set, otherwise the data directory of the xkeyboard-config (or xkb-data) package (denoted <xkb-config-root> in the rest of the page): <datadir>/xkeyboard-config-<VERSION> or <datadir>/X11/xkb on older setups. <datadir> is a placeholder for the package data; on most distributions this is /usr/share. Example: /usr/share/xkeyboard-config-2 and /usr/share/X11/xkb.

Module include-path The legacy path $HOME/.xkb, where $HOME is the value of the environment variable HOME.

Module legacy-virtual-modifier-names Use Virtual modifiers names instead

xkb_keymap Global xkb_keymap::xkb_keymap_new_from_names (struct xkb_context *context, const struct xkb_rule_names *names, enum xkb_keymap_compile_flags flags) Use xkb_keymap_new_from_names2() instead.

Global XKB_MOD_NAME_ALT Use XKB_VMOD_NAME_ALT instead.

Global XKB_MOD_NAME_LOGO Use XKB_VMOD_NAME_SUPER instead.

Global XKB_MOD_NAME_NUM Use XKB_VMOD_NAME_NUM instead.

xkb_state Global xkb_state::xkb_state_mod_mask_remove_consumed (struct xkb_state *state, xkb_keycode_t key, xkb_mod_mask_t mask) Use xkb_state_key_get_consumed_mods2() instead.