Skip to content

Instantly share code, notes, and snippets.

@lithuak
Created June 16, 2014 12:43
Show Gist options
  • Save lithuak/ac77e567f3343e315835 to your computer and use it in GitHub Desktop.
Save lithuak/ac77e567f3343e315835 to your computer and use it in GitHub Desktop.
Set WM keybinding for Gnome
for i in $(seq 1 8); do gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['<Control>F$i']"; done
What happens here:
Settings are stored in dconf (see man 7 dconf) and can be visually accessed by dconf-editor (not installed by default) or gsettings (recommended API for command line). Next steps are clear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment