In GNOME 3, how does one assign keyboard shortcuts for applications besides the default applications?
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:
- 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.
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 +
.
Related videos on Youtube
freethinker
Updated on September 18, 2022Comments
-
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 over 5 yearsIt does not allow some keystroke (ex: Shift+enter)
-
pts over 4 yearsIn 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.