xev

NAME

xev - print contents of X events

SYNOPSIS

xev [-bs {NotUseful|WhenMapped|Always}] [-bw pixels]
	[-display displayname] [-geometry geom] [-id windowid]
	[-name string] [-rv] [-s]

DESCRIPTION

The xev(1) utility creates a window and then asks the X server to send it events whenever anything happens to the window (such when it is moved, resized, typed in, or clicked in). You can also attach it to an existing window. It is useful for seeing what causes events to occur and displaying the information that such events contain.

OPTIONS

-bs {NotUseful|WhenMapped|Always}
This option specifies what kind of backing store to give the window. The default is NotUseful.
-bw pixels
This option specifies the border width for the window.
-display display
This option specifies the X server to contact.
-geometry geom
This option specifies either or both the size and location of the window.
-id windowid
This option specifies that the window with the given id should be monitored, instead of creating a new window.
-rv
This option specifies that the window should be in reverse video.
-s
This option specifies that save-unders should be enabled on the window.
-name string
This option specifies the name to assign to the created window.

SEE ALSO

X(5)

xwininfo(1)

xdpyinfo(1)

Xlib Programmers Manual

X Protocol Specification