online casino

xev: know what the “key codes” are.


xev comamnd.

FocusIn event, serial 31, synthetic NO, window 0x2600001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  115 0   0   0   16  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ConfigureNotify event, serial 31, synthetic NO, window 0x2600001,
    event 0x2600001, window 0x2600001, (0,24), width 178, height 178,
    border_width 0, above 0x9cf34b, override NO

ConfigureNotify event, serial 31, synthetic YES, window 0x2600001,
    event 0x2600001, window 0x2600001, (741,25), width 178, height 178,
    border_width 0, above 0x0, override NO

KeyRelease event, serial 31, synthetic NO, window 0x2600001,
    root 0x15a, subw 0x0, time 193936281, (66,503), root:(807,528),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x2600001,
    root 0x15a, subw 0x0, time 193937442, (66,503), root:(807,528),
    state 0x10, keycode 41 (keysym 0x66, f), same_screen YES,
    XLookupString gives 1 bytes: (66) "f"
    XmbLookupString gives 1 bytes: (66) "f"
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x2600001,
    root 0x15a, subw 0x0, time 193937593, (66,503), root:(807,528),
    state 0x10, keycode 41 (keysym 0x66, f), same_screen YES,
    XLookupString gives 1 bytes: (66) "f"
    XFilterEvent returns: False

FocusOut event, serial 34, synthetic NO, window 0x2600001,
    mode NotifyNormal, detail NotifyNonlinear

ConfigureNotify event, serial 34, synthetic YES, window 0x2600001,
    event 0x2600001, window 0x2600001, (741,25), width 178, height 178,
    border_width 0, above 0x0, override NO

man page for xev.

XEV(1)                                                                  XEV(1)

NAME
       xev - print contents of X events

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

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

OPTIONS
       -display display
               This option specifies the X server to contact.

       -geometry geom
               This option specifies the size and/or location of  the  window,
               if a window is to be created.

       -bw pixels
               This option specifies the border width for the window.

       -bs {NotUseful,WhenMapped,Always}
               This  option  specifies  what kind of backing store to give the
               window.  The default is NotUseful. Backing store refers to  the
               the  pixels  saved  off-screen  when the X server maintains the
               contents of a window; NotUseful means that the xev process will
               redraw its contents itself, as necessary.

       -id windowid
               This  option specifies that the window with the given id should
               be monitored, instead of creating a new window.

       -root   This option specifies that the root window should be monitored,
               instead of creating a new window.

       -s      This option specifies that save-unders should be enabled on the
               window. Save unders are similar  to  backing  store,  but  they
               refer  rather  to the saving of pixels off-screen when the cur-
               rent window obscures other windows. Save unders are only  advi-
               sory,  and  are  normally set for popup dialogs and other tran-
               sient windows.

       -name string
               This option specifies the name to assign to the created window.

       -rv     This option specifies that the  window  should  be  in  reverse
               video.

SEE ALSO
       X(7),  xwininfo(1),  xdpyinfo(1),  Xlib  Programmers Manual, X Protocol
       Specification
       See X(7) for a full statement of rights and permissions.

AUTHOR
       Jim Fulton, MIT X Consortium

X Version 11                       xev 1.1.0                            XEV(1)


Reference:
Linux Man Pages

, , , ,

  1. #1 by Name on February 18, 2013 - 2:14 am

    Thank you for this useless post.

    • #2 by admin on May 12, 2013 - 11:37 am

      No, no… thank you for taking the time. =)

(will not be published)

Blue Captcha Image
Refresh

*