how can I detect key-press combinations in background using python for linux and windows ?
for example,
when
Ctrl+v
is detected executedoThis()
in backgroundwhen
Tab
is detected executedoThat()
in background
on windows this can be done using pyhook
on ubuntu I did it with help of this pyxhook
Edit: another awesome library for Windows & Linux - keyboard