Listening for keypress in the background

Peter Hansen peter at engcorp.com
Sun Oct 23 08:26:48 EDT 2005


Mathias Dahl wrote:
> Peter Hansen <peter at engcorp.com> writes:
>>>How can I make it listen for a certain keypress (say, Windows-key +
>>>space) in a controlled fashion even when it is not the program having
>>>focus?
>>>
>>>I need to do this running under GNOME in Mandrake GN/Linux 10.
>>
>>Search Google for "python keylogger".
> 
> Thanks, good idea! The relevant pages I found only link to
> Windows-specific keyloggers though.

Oops, you're quite right.  Sorry!  I didn't even read the second 
sentence in your post.  Stupid me...

-Peter



More information about the Python-list mailing list