10

How can I map additional shortcuts to an action, without losing the existing shortcuts for that action?

I have some computers running GNOME version 3 with multiple keyboards (e.g. a notebook computer which is sometimes used with an external keyboard).

These keyboards provide different keys (e.g. some notebook computers don't have the separate cursor movement keys, instead providing only a number pad with these functions) and the keys available for shortcuts are therefore different on the same computer.

So for some commands (e.g. Switch to Previous Tab) I need to configure an additional keyboard shortcut (e.g. Ctrl + Number pad Page Up) without replacing the existing shortcut for that function.

I need a way to add a shortcut without replacing existing ones. How can I do that?

bignose
  • 3,325

1 Answers1

9

I don't think you can accomplish this in the Keyboard settings GUI, but you can use a dconf editor.

gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down','<Control><Alt>Down']"

Don't forget the wrapping double-quotes as my system was giving me an unknown keyword error without them.

palswim
  • 3,601