HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xev — Print contents of X events. More information: <https://gitlab.freedesktop.org/xorg/app/xev>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcontentscliprintinformationxeveventsmore

Problem

How to use the xev command: Print contents of X events. More information: <https://gitlab.freedesktop.org/xorg/app/xev>.

Solution

xev — Print contents of X events. More information: <https://gitlab.freedesktop.org/xorg/app/xev>.

Monitor all occurring X events:
xev


Monitor all X events of the root window instead of creating a new one:
xev -root


Monitor all X events of a particular window:
xev -id {{window_id}}


Monitor X events from a given category (can be specified multiple times):
xev -event {{event_category}}

Code Snippets

Monitor all occurring X events

xev

Monitor all X events of the root window instead of creating a new one

xev -root

Monitor all X events of a particular window

xev -id {{window_id}}

Monitor X events from a given category (can be specified multiple times)

xev -event {{event_category}}

Context

tldr-pages: common/xev

Revisions (0)

No revisions yet.