XEV(1)
๐ xev(1) โ print contents of X events ๐
โจ NAME โจ
xev โ print contents of X events. That's the whole mission, bestie. ๐ซถ
๐ธ SYNOPSIS ๐ธ
xev [-display displayname] [-geometry geom] [-bw pixels]
[-bs NotUseful|WhenMapped|Always] [-id windowid] [-root] [-s]
[-name string] [-rv] [-event event_mask [-event event_mask ...]]
[-help|-version]
๐ฆ DESCRIPTION ๐ฆ
Okay so xev creates a window and then asks the X server to send it events whenever anything happens to the window โ like it being moved, resized, typed in, clicked in, etc. โจ You can also attach it to an existing window. It's useful for seeing what causes events to occur and for displaying the information they contain; it is essentially a debugging and development tool, and should not be needed in normal usage. ๐
๐ OPTIONS ๐
-display displayโ tellsxevwhich X server to contact. ๐ก-geometry geomโ sets the size and/or location of the window, if a window is to be created. ๐-bw pixelsโ sets the border width for the window. ๐ผ๏ธ-bs NotUseful|WhenMapped|Alwaysโ picks what kind of backing store to give the window. The default isNotUseful. Backing store = the pixels saved off-screen when the X server maintains the contents of a window;NotUsefulmeans thexevprocess will redraw its contents itself, as necessary. ๐จ-id windowidโ monitors the window with the given id instead of creating a new window. ๐ช-rootโ monitors the root window instead of creating a new window. ๐-sโ enables save-unders on the window. Save unders are similar to backing store, but they refer rather to the saving of pixels off-screen when the current window obscures other windows. They're only advisory, and are normally set for popup dialogs and other transient windows. ๐ซง-name stringโ assigns that name to the created window. ๐ท๏ธ-rvโ puts the window in reverse video. ๐-event event_maskโ selects which events to display. You can specify-eventmultiple times to select multiple types of events. When not specified, all events are selected. Available event masks:keyboard,mouse,expose,visibility,structure,substructure,focus,property,colormap,owner_grab_button,randr,button. ๐๏ธ-helpโ prints the program usage and exits. ๐-versionโ prints the program version and exits. ๐
๐ SEE ALSO ๐
X(7), xwininfo(1), xdpyinfo(1), Xlib Programmers Manual, X Protocol Specification โ go read these if you want the full lore, iykyk. ๐
๐ AUTHOR ๐
Jim Fulton, MIT X Consortium. Respect the icon. ๐
okay that's the whole page bestie โ this was xev 1.2.7 (X Version 11 energy), dated 2025-03-24. Go cause some events and slay ๐โจ๐ซถ
๐ฆ where this page comes from
- alpine 3.24: xev-doc 1.2.7-r0 ยท MIT
- arch rolling: xorg-xev 1.2.7-1 ยท MIT
- nixpkgs unstable: xev 1.2.7
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms