xkbcommon / libxkbcommon

keymap handling library for toolkits and window systems
https://xkbcommon.org
Other
286 stars 125 forks source link

tools: Add xkbcli dump-keymap-{wayland,x11} #510

Closed wismill closed 1 month ago

wismill commented 2 months ago

There is currently no easy way to dump a keymap from a Wayland compositor, such as xkbcomp -xkb $DISPLAY - could do for X servers.

As xkbcomp may not be intuitive, a corresponding tool for X servers would also be useful.

Add the tools xkbcli-dump-keymap-{wayland,x11} by tweaking the existing xkbcli-interactive-{wayland,x11} tools.

Commands names subject to bikeshedding.