13

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?

7

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:

  1. specify your command in /apps/metacity/keybinding_commands/command_X
  2. 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.

1
  • 3
    In Gnome 3, System Settings > Keyboard > Shortcuts > Custom Shortcuts; afaik, it has always been there. Jan 9 '15 at 8:38
4

To assign hotkeys without limitations like '12 user defined hotkeys' try xbindkeys

3

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.

2
  • It does not allow some keystroke (ex: Shift+enter)
    – ppr
    Oct 18 '18 at 9:05
  • 1
    In GNOME 3.30, it's Settings > Devices > Keyboard -> Keyboard Shortcuts, and then scroll down to the bottom and click the + button to add a custom shortcut.
    – pts
    Jan 24 '20 at 10:40
2

In GNOME 3 press Meta and start typing shortcuts. Alternatively go to Settings -> Devices -> Keyboard.

Then at the bottom press +.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.