Sorry, I should have mentioned that I'm running Linux, and I only will be running this app while X is running. pyHook doesn't seem to be an option because it's win32 only. I'm guessing python-xlib is the way to go, but it seems to be that it relies on you understanding the C xlib library, which is old and heavily obfuscated. Any advice on how to use python xlib to register a global hotkey? In the docs I found the KeyEvent event type, but it seems to want a specific window too.
-- http://mail.python.org/mailman/listinfo/python-list