1XEV(1)                      General Commands Manual                     XEV(1)
2
3
4

NAME

6       xev - print contents of X events
7

SYNOPSIS

9       xev  [-display displayname] [-geometry geom] [-bw pixels] [-bs {NotUse‐
10       ful,WhenMapped,Always}] [-id  windowid]  [-root]  [-s]  [-name  string]
11       [-rv]
12

DESCRIPTION

14       Xev creates a window and then asks the X server to send it events when‐
15       ever anything happens to the window (such as it being  moved,  resized,
16       typed  in,  clicked  in,  etc.).  You can also attach it to an existing
17       window.  It is useful for seeing what causes events  to  occur  and  to
18       display  the  information that they contain; it is essentially a debug‐
19       ging and development tool, and should not be needed in normal usage.
20

OPTIONS

22       -display display
23               This option specifies the X server to contact.
24
25       -geometry geom
26               This option specifies the size and/or location of  the  window,
27               if a window is to be created.
28
29       -bw pixels
30               This option specifies the border width for the window.
31
32       -bs {NotUseful,WhenMapped,Always}
33               This  option  specifies  what kind of backing store to give the
34               window.  The default is NotUseful. Backing store refers to  the
35               the  pixels  saved  off-screen  when the X server maintains the
36               contents of a window; NotUseful means that the xev process will
37               redraw its contents itself, as necessary.
38
39       -id windowid
40               This  option specifies that the window with the given id should
41               be monitored, instead of creating a new window.
42
43       -root   This option specifies that the root window should be monitored,
44               instead of creating a new window.
45
46       -s      This option specifies that save-unders should be enabled on the
47               window. Save unders are similar  to  backing  store,  but  they
48               refer  rather  to the saving of pixels off-screen when the cur‐
49               rent window obscures other windows. Save unders are only  advi‐
50               sory,  and  are  normally set for popup dialogs and other tran‐
51               sient windows.
52
53       -name string
54               This option specifies the name to assign to the created window.
55
56       -rv     This option specifies that the  window  should  be  in  reverse
57               video.
58
59       -event event_mask
60               Select which events to display.  The -event option can be spec‐
61               ified multiple times to select multiple types of events.   When
62               not specified, all events are selected.  Available event masks:
63               keyboard mouse expose visibility structure  substructure  focus
64               property colormap owner_grab_button randr
65

SEE ALSO

67       X(7),  xwininfo(1),  xdpyinfo(1),  Xlib  Programmers Manual, X Protocol
68       Specification
69       See X(7) for a full statement of rights and permissions.
70

AUTHOR

72       Jim Fulton, MIT X Consortium
73
74
75
76X Version 11                       xev 1.2.1                            XEV(1)
Impressum