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 โ€” tells xev which 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 is NotUseful. Backing store = the pixels saved off-screen when the X server maintains the contents of a window; NotUseful means the xev process 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 -event multiple 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