-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: Add xkbcli dump-keymap-{wayland,x11}
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.
- Loading branch information
Showing
8 changed files
with
181 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Added `xkbcli dump-keymap-wayland` and `xkbcli dump-keymap-x11` debugging tools | ||
to dump a keymap from a Wayland compositor or a X server, similar to what | ||
`xkbcomp -xkb $DISPLAY -` does for X servers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.Dd September 20, 2024 | ||
.Dt XKBCLI\-DUMP\-KEYMAP\-WAYLAND 1 | ||
.Os | ||
. | ||
.Sh NAME | ||
.Nm "xkbcli\-dump\-keymap\-wayland" | ||
.Nd Debugger for XKB keyboard keymaps on Wayland | ||
. | ||
.Sh SYNOPSIS | ||
.Nm | ||
.Op Ar options | ||
. | ||
.Sh DESCRIPTION | ||
.Nm | ||
is a commandline tool to dump XKB keymaps from Wayland compositor. | ||
. | ||
.Pp | ||
This requires a Wayland compositor to be running. | ||
. | ||
.Pp | ||
This is a debugging tool, its behavior or output is not guaranteed to be stable. | ||
. | ||
.Bl -tag -width Ds | ||
.It Fl \-help | ||
Print help and exit | ||
. | ||
.It Fl \-raw | ||
Print the raw keymap, without parsing it. | ||
.El | ||
. | ||
.Sh SEE ALSO | ||
.Xr xkbcli 1 , | ||
.Xr xkbcli\-interactive\-wayland 1 , | ||
.Xr xkbcli\-dump\-keymap\-x11 1 , | ||
.Lk https://xkbcommon.org "The libxkbcommon online documentation" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.Dd September 20, 2024 | ||
.Dt XKBCLI\-DUMP\-KEYMAP\-X11 1 | ||
.Os | ||
. | ||
.Sh NAME | ||
.Nm "xkbcli\-dump\-keymap\-x11" | ||
.Nd Debugger for XKB keyboard keymaps on X11 | ||
. | ||
.Sh SYNOPSIS | ||
.Nm | ||
.Op Ar options | ||
. | ||
.Sh DESCRIPTION | ||
.Nm | ||
is a commandline tool to dump XKB keymaps from X servers. | ||
. | ||
.Pp | ||
This requires an X server to be running. | ||
. | ||
.Pp | ||
This is a debugging tool, its behavior or output is not guaranteed to be stable. | ||
. | ||
.Bl -tag -width Ds | ||
.It Fl \-help | ||
Print help and exit | ||
.El | ||
. | ||
.Sh SEE ALSO | ||
.Xr xkbcli 1 , | ||
.Xr xkbcli\-interactive\-x11 1 , | ||
.Xr xkbcli\-dump\-keymap\-wayland 1 , | ||
.Lk https://xkbcommon.org "The libxkbcommon online documentation" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters