Skip to content

Instantly share code, notes, and snippets.

@simonbaird
Created January 21, 2013 06:50
Show Gist options
  • Save simonbaird/4584070 to your computer and use it in GitHub Desktop.
Save simonbaird/4584070 to your computer and use it in GitHub Desktop.
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
# Take a look at your current xkb-options
gsettings get org.gnome.desktop.input-sources xkb-options
# If you see @as [] then just run the command from above
# Otherwise you need to preserve the existing options (such as foo:bar below)
# while inserting the new one
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps', 'foo:bar']"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment