I want to make a simple app, ideally in Python, that would run in the background on KDE, listening to all keystrokes being done by the user, so that the app goes to the foreground if a specific combination of keys is pressed. Is that doable? Can anyone point me to such resource?
Python – use Python to intercept global keystrokes in KDE
kdepython
Related Question
- Python – Use different Python version with virtualenv
- Python progression path – From apprentice to guru
- Python – How to use threading in Python
- Python – Peak detection in a 2D array
- Python – How to print literal curly-brace characters in a string and also use .format on it
- Python – How to remove a key from a Python dictionary
Best Solution
A quick google found this:
http://sourceforge.net/projects/pykeylogger/
You might be able to use some of the source code.