[CentOS] trapping keystrokes

Jerry Geis

geisj at pagestation.com
Thu Jun 28 13:09:59 UTC 2007


Hi all,

How do you trap key strobes in centos before they are handed off to an 
application?

In X windows I dont care what app is running or which app has focus. I 
need to know what key is pressed.
The key can still go on to the application that is fine. I just need to 
know what keys are
being pressed.

I have tried xbindkeys but depending on which app is running I may or 
may not get my
keypress binding, I tried loadkeys but that only works on the console 
and not X.

Any ideas? Thanks,

Jerry



More information about the CentOS mailing list