Last Updated: February 25, 2016
· wildeyes

XEV - Only KeyBoard Events

Need xev ONLY for keyboard events? no prob.

Don't simply run xev, run xev -event keyboard for minimal output.

Protip: alias xevkb="xev -event keyboard" # xev only for kb events

from man xev:

-event event_mask
Select  which events to display.  The -event option can be specified 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