LinuxCommandLibrary

wev

Wayland event viewer for input debugging

TLDR

Monitor all events

$ wev
copy
Filter by interface
$ wev -f [wl_keyboard]
copy
Filter specific events
$ wev -f [wl_keyboard]:[key]
copy
Exclude events
$ wev -F [wl_keyboard]:[key]
copy
Write keymap to file
$ wev -M [path/to/file]
copy
Print globals
$ wev -g
copy

SYNOPSIS

wev [OPTIONS]

DESCRIPTION

wev prints the contents of Wayland events, similar to xev for X11. It displays keyboard, mouse, and other input events as they occur.
This tool is useful for debugging Wayland input handling, discovering keycodes, and understanding Wayland protocol events.

PARAMETERS

-f INTERFACE[:EVENT]

Include only specified interface/events
-F INTERFACE[:EVENT]
Exclude specified interface/events
-M FILE
Write keymap to file
-g
Print Wayland globals

CAVEATS

Wayland only. Output can be verbose. Some events may require specific compositor support.

SEE ALSO

xev(1), libinput(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community