-
-
Notifications
You must be signed in to change notification settings - Fork 60
Custom keyboard shortcuts
Martin Zurowietz edited this page Aug 16, 2023
·
8 revisions
In the examples below, replace <shortcut-name>
with the actual name of the keyboard shortcuts.
Name | Default | Description |
---|---|---|
workspace-overview-toggle |
Super+w | Open the workspace overview. |
workspace-overview-right |
Right | Move to the right in the workspace overview. |
workspace-overview-left |
Left | Move to the left in the workspace overview. |
workspace-overview-up |
Up | Move up in the workspace overview. |
workspace-overview-down |
Down | Move down in the workspace overview. |
workspace-overview-confirm |
Return, Escape | Confirm and close the workspace overview. |
Show the current keyboard shortcut:
gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ \
get org.gnome.shell.extensions.wsmatrix-keybindings <shortcut-name>
Set the keyboard shortcut:
gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ \
set org.gnome.shell.extensions.wsmatrix-keybindings <shortcut-name> "['<Shift><Super>o']"
Name | Default | Description |
---|---|---|
switch-to-workspace-right |
Ctrl+Alt+🠖 | Switch to the workspace to the right. |
switch-to-workspace-left |
Ctrl+Alt+🠔 | Switch to the workspace to the left. |
switch-to-workspace-up |
Ctrl+Alt+🠕 | Switch to the workspace above. |
switch-to-workspace-down |
Ctrl+Alt+🠗 | Switch to the workspace below. |
move-to-workspace-right |
Shift+Ctrl+Alt+🠖 | Move window to the workspace to the right. |
move-to-workspace-left |
Shift+Ctrl+Alt+🠔 | Move window to the workspace to the left. |
move-to-workspace-up |
Shift+Ctrl+Alt+🠕 | Move window to the workspace above. |
move-to-workspace-down |
Shift+Ctrl+Alt+🠗 | Move window to the workspace below. |
Show the current keyboard shortcut:
gsettings get org.gnome.desktop.wm.keybindings <shortcut-name>
Set the keyboard shortcut:
gsettings set org.gnome.desktop.wm.keybindings <shortcut-name> "['<Shift><Super>o']"
In case all or some of the keybindings are not working, run the below statements to re-assign all switch/move workspaces keybindings to the default bindings mentioned above <Ctrl><Alt>Arrow
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['<Control><Alt>Left']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['<Control><Alt>Right']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Control><Alt>Up']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Control><Alt>Down']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-left "['<Control><Shift><Alt>Left']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-right "['<Control><Shift><Alt>Right']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "['<Control><Shift><Alt>Up']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down "['<Control><Shift><Alt>Down']"