In GNOME 3, how does one assign keyboard shortcuts for applications besides the default applications?

7,851

Solution 1

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.

Solution 2

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

Solution 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.

Solution 4

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

Then at the bottom press +.

enter image description here

Share:
7,851

Related videos on Youtube

freethinker
Author by

freethinker

Updated on September 18, 2022

Comments

  • freethinker
    freethinker almost 2 years

    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?

  • ppr
    ppr over 5 years
    It does not allow some keystroke (ex: Shift+enter)
  • pts
    pts over 4 years
    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.