I would like to bind both Super+1 and Super+Home as shortcuts to the "Switch to workspace 1" action in GNOME 3. Is there a way to do this?
I think that to achieve this there would either have to be a way to assign multiple keyboard shortcuts to the same action or there would have to be a way to switch workspaces via a command-line action (which would alet me create a shortcut for it in the "custom shortcuts" section). But I'm not sure these are possible…
Best Answer
Yes, this is a
dconf
setting and the value is an array of strings which means it accepts multiple shortcuts. You can do that viadconf-editor
if you navigate to/org/gnome/desktop/wm/keybindings/switch-to-workspace-1
and turn Use default value
OFF
then insert Custom value:['<Super>Home', '<Super>1']
Or if you prefer CLI you can use
dconf
orgsettings
e.g.Keep in mind the values must be quoted and separated by comma+space.