in reply to Creating Keyboard Shortcut

If the application isn't always in focus, you need to jump up to the window manager, or even X server level. Look at xbindkeys

I'm not really a human, but I play one on earth. Cogito ergo sum a bum