Skip to content

Instantly share code, notes, and snippets.

@fwilhe
Last active May 10, 2016 17:55
Show Gist options
  • Save fwilhe/349f96b15a6891609849 to your computer and use it in GitHub Desktop.
Save fwilhe/349f96b15a6891609849 to your computer and use it in GitHub Desktop.
GNOME Shortcuts Script
#!/bin/bash
set -o nounset
set -o errexit
set -o xtrace
# Tested using a default Fedora Workstation 23 with Gnome Shell
# Set Compose-Key to CapsLock, see:
# https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']"
# Disable Switching of Keyboard Layouts
gsettings set org.gnome.desktop.wm.keybindings switch-input-source "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward "[]"
# Disable F10 in gnome-terminal, so that mc can use it
gsettings set org.gnome.Terminal.Legacy.Settings menu-accelerator-enabled "false"
@fwilhe
Copy link
Author

fwilhe commented May 10, 2016

This is done now via system-automation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment