In GNOME 3, there's a facility to assign keyboard shortcuts for applications like your default browser, default email client, default terminal etc. How do I do this for other applications?
As far as I know, there is no GUI application allowing that for gnome 3. If you have Gnome 2, you can still use the settings application from menu.
The easiest ways for me is to edit settings through gconf-editor:
- specify your command in /apps/metacity/keybinding_commands/command_X
- specify your keyboard shortcut in /apps/metacity/global_keybindings/run_command_X
The name of keyboard you can find using xev. X stands for number from 1 up to 12.
To assign hotkeys without limitations like '12 user defined hotkeys' try xbindkeys
As said in a comment that should be an answer by don_cristi:
In Gnome 3, System Settings > Keyboard > Shortcuts > Custom Shortcuts; afaik, it has always been there.