Benjamin Looi
Back to blogs
How to change Ubuntu 21.04 workspace keybindings (So it won't conflict with VSCode CopyLineUp/Down keybindings)

How to change Ubuntu 21.04 workspace keybindings (So it won't conflict with VSCode CopyLineUp/Down keybindings)

Benjamin Looi / June 10, 2021

To remove Control + Alt + Up/Down as switch workspace up/down but retain Super + Page Up/Down
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']" &&
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
To remove Control + Shift + Alt + Up/Down as move to workspace up/down but retain Super + Shift + Page Up/Down
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-up "['<Super><Shift>Page_Up']" &&
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-down "['<Super><Shift>Page_Down']"

To show the default Ubuntu keybindings

gsettings list-recursively org.gnome.desktop.wm.keybindings
Thanks for reading! 😁

Comments

Related Posts

Terminator cheatsheet
terminator
terminal
ubuntu

Quick reference guide for installing and using Terminator terminal emulator on Ubuntu

How to disable laptop internal keyboard on Fedora 41
fedora
linux
keyboard

My laptop keyboard is really bad and over the years, the heat has made the keys harder to type on and some key clips has also broke. So I thought of slapping my PC mechanical keyboard on my laptop but whenever I tried laying the keyboard on top of my laptop, my poor laptop keyboard kept jumping in—typing random letters and messing up my flow. I have tested this on Fedora 41 and 42 running on wayland.