PyQt4 - global hotkeys

I’m writing a Python application with Qt4 for Windows and Linux.

Now, I need a global hotkey (system wide) for this application.
Unfortunately Qt itself does not support this.

I found several solutions (Qxt, xlib for Linux, …) but nothing really
worked for me.

Any ideas, links, code examples??


if it’s a system-wide hotkey you’re after, then this must probably be provided by the system, not your app.

Eg. under KDE, have a look at the “shortcuts and gestures” in the system settings.