xkbcli-interactive-wayland.1 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. .Dd February 27, 2026
  2. .Dt XKBCLI\-INTERACTIVE\-WAYLAND 1
  3. .Os
  4. .
  5. .Sh NAME
  6. .Nm "xkbcli\-interactive\-wayland"
  7. .Nd interactive debugger for Wayland keyboard keymaps
  8. .
  9. .Sh SYNOPSIS
  10. .Nm
  11. .Op Ar options
  12. .
  13. .Sh DESCRIPTION
  14. .Nm
  15. is a commandline tool to interactively debug XKB keymaps by listening to Wayland events.
  16. .
  17. .Pp
  18. This requires a Wayland compositor to be running.
  19. .
  20. .Pp
  21. Press the
  22. .Aq Escape
  23. key to exit.
  24. .
  25. .Pp
  26. This is a debugging tool, its behavior or output is not guaranteed to be stable.
  27. .
  28. .Bl -tag -width Ds
  29. .It Fl h, \-help
  30. Print help and exit
  31. .
  32. .It Fl V, \-version
  33. Print version information and exit
  34. .
  35. .It Fl \-format Ar KEYMAP_FORMAT
  36. Specify the keymap format (numeric or label, e.g.\&
  37. .Dq v1 )
  38. .
  39. .It Fl \-strict
  40. Parse using the strict mode.
  41. .
  42. .It Fl \-local\-state
  43. Enable local state handling and ignore modifiers/layouts state updates
  44. from the compositor
  45. .
  46. .It Fl \-legacy\-state\-api Op Ar =true|false
  47. Use the legacy state API instead of the server machine API.
  48. It implies
  49. .Fl \-local\-state
  50. if explicitly disabled.
  51. .
  52. .It Fl \-controls Ar CONTROLS
  53. Enable or disable controls. It implies
  54. .Fl \-local\-state
  55. and
  56. .Fl \-legacy\-state\-api=false
  57. \&.
  58. .Ar CONTROLS
  59. is a comma-separated-list of the following entries:
  60. .Bl -tag -compact -hang
  61. .It Ar sticky-keys
  62. Enable sticky-keys accessibility feature
  63. .It Ar sticky-keys-no-simultaneous
  64. Deactivate sticky-keys if 2 keys or more are pressed simultaneously.
  65. .It Ar sticky-keys-latch-to-lock
  66. Enable latch-to-lock option for sticky-keys
  67. .It Ar latch-simultaneous
  68. Relax the strict tapping sequence requirement operating key latches.
  69. .It Ar overlay Ns Brq 1-8
  70. Enable the corresponding keyboard overlay
  71. .El
  72. Each entry may be preceded by
  73. .Ar \+
  74. or
  75. .Ar \-
  76. in order to respectively enable or disable the corresponding control.
  77. .
  78. .It Fl \-modifiers\-mapping Ar MAPPING
  79. Use the given modifiers mapping.
  80. .Ar MAPPING
  81. is a comma-separated list of modifiers masks mappings with format
  82. .Ar source:target
  83. , e.g.
  84. .Ar Control+Alt:LevelThree,Alt:Meta
  85. \&.
  86. It implies
  87. .Fl \-local\-state
  88. and
  89. .Fl \-legacy\-state\-api=false
  90. \&.
  91. .
  92. .It Fl \-shortcuts\-mask Ar MASK
  93. Use the given modifier mask to enable selecting a specific
  94. layout (see
  95. .Fl \-shortcuts\-mapping
  96. ) when some of these modifiers are active.
  97. The modifier mask is a plus-separated list of modifiers names, e.g.
  98. .Ar "Control+Alt+Super"
  99. \&.
  100. It implies
  101. .Fl \-local\-state
  102. and
  103. .Fl \-legacy\-state\-api=false
  104. \&.
  105. .
  106. .It Fl \-shortcuts\-mapping Ar MAPPING
  107. Use the given layout indices mapping to enable selecting a specific
  108. layout when some modifiers are active (see
  109. .Fl \-shortcuts\-mask
  110. ).
  111. .Ar MAPPINGS
  112. is a comma-separated list of 1-indexed layout
  113. indices mappings with format
  114. .Ar source:target
  115. , e.g.
  116. .Ar 2:1,3:1
  117. \&. It implies
  118. .Fl \-local\-state
  119. and
  120. .Fl \-legacy\-state\-api=false
  121. \&.
  122. .
  123. .It Fl \-keymap Oo Ar PATH Oc
  124. Load the XKB keymap from a file instead of the keymap from the compositor.
  125. It implies
  126. .Fl \-local\-state
  127. \&. If
  128. .Ar PATH
  129. is empty or
  130. .Dq \- ,
  131. read the stdin.
  132. .
  133. .It Fl \-enable\-compose
  134. Enable Compose functionality
  135. .
  136. .It Fl \-verbose
  137. Enable verbose debugging output
  138. .
  139. .It Fl 1, \-uniline
  140. Enable uniline event output
  141. .
  142. .It Fl *, \-multiline
  143. Enable multiline event output
  144. .
  145. .It Fl \-consumed\-mode Brq xkb|gtk
  146. Set the consumed modifiers mode (default: xkb)
  147. .
  148. .It Fl \-no-state-report
  149. Do not report state changes
  150. .El
  151. .
  152. .Sh SEE ALSO
  153. .Xr xkbcli 1 ,
  154. .Xr xkbcli\-interactive\-evdev 1 ,
  155. .Xr xkbcli\-interactive\-x11 1 ,
  156. .Lk https://xkbcommon.org "The libxkbcommon online documentation"