I would like to assign a global hotkey to my Python application, running in Gnome. How do I do that? All I can find are two year old posts saying, well, pretty much nothing :-)
+1
A:
Check out the Deskbar source code - they do this; afaik, they call out a C library that interacts with X11 to do the job
Paul Betts
2008-11-19 15:09:54
You pointed me in the right direction. The C library in question is _keybinder.so which is used by Deskbar, Glipper etc. This link explains it in more detail: http://cixar.com/~segphault/blog/2007/1/10
Magnus
2008-11-19 17:58:28
+6
A:
There is python-keybinder which is that same code, but packaged standalone. Also available in debian and ubuntu repositories now.
kaizer.se
2009-08-31 21:03:58