I\'m writing an command-line application which listens for Control key release events in X Windows and alerts another process when it detects them.
Being new to GNU/Linu
Presumably this project must have code that solves that problem:
http://sourceforge.net/apps/mediawiki/pykeylogger/index.php?title=Main_Page