how about xev? I have posted it in the other thread regardin keyboards as well. They are related...
as you may see, i get something by pressing volume keys but no action on wifi.
Code: Select all
$ xev +width
usage: xev [-options ...]
where options include:
-display displayname X server to contact
-geometry geom size and location of window
-bw pixels border width in pixels
-bs {NotUseful,WhenMapped,Always} backingstore attribute
-id windowid use existing window
-root use root window
-s set save-unders attribute
-name string window name
-rv reverse video
-event event_mask select 'event_mask' events
Supported event masks: keyboard mouse expose visibility structure
substructure focus property colormap
owner_grab_button randr
This option can be specified multiple times to select multiple
event masks.
iustitia@antix1:~
$ xev -event keyboard
Outer window is 0x2000001, inner window is 0x2000002
KeymapNotify event, serial 18, synthetic NO, window 0x0,
keys: 0 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
KeyRelease event, serial 25, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 335326, (-619,738), root:(119,757),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d)"
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 345673, (-619,738), root:(119,757),
state 0x0, keycode 146 (keysym 0xff6a, Help), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 345795, (-619,738), root:(119,757),
state 0x0, keycode 146 (keysym 0xff6a, Help), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 350207, (-619,738), root:(119,757),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 350328, (-619,738), root:(119,757),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 351433, (-619,738), root:(119,757),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 351555, (-619,738), root:(119,757),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 352027, (-619,738), root:(119,757),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x2000001,
root 0x80, subw 0x0, time 352138, (-619,738), root:(119,757),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False