How to arbitrarily manipulate key events in X

wettstein509 at solnet.ch wettstein509 at solnet.ch
Thu Apr 8 11:20:30 PDT 2010


> Is there any way to do what XEvIE did?

It seems to me that the the X Record extension (together with XTEST)
could be one possibility.  There are some limitations, for example, it
is not possible to discard events.  But it is possible to caputure all
keyboard events, and in contrast to XEvIE, the extension is supported.

One project that uses the X Record extension (among other approaches,
which are not purely X) that you might find interesting is AutoKey:

  http://code.google.com/p/autokey/

A simple example of the use of the X Record extension (a keylogger) is
found here:

  http://emg-2.blogspot.com/2008/01/xfree86xorg-keylogger.html

Andreas



More information about the xorg mailing list