Skip to content

Instantly share code, notes, and snippets.

@gdevanla
Created February 16, 2018 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdevanla/7284b4ca9e6724e73e72a2a7c343226d to your computer and use it in GitHub Desktop.
Save gdevanla/7284b4ca9e6724e73e72a2a7c343226d to your computer and use it in GitHub Desktop.
machine setup
Remapping keys
https://askubuntu.com/questions/149971/how-do-you-remap-a-key-to-the-caps-lock-key-in-xubuntu
sudo vi /etc/default/keyboard
then find the line that starts with XKBOPTIONS, and add ctrl:nocaps to make Caps Lock an additional Control key or ctrl:swapcaps to swap Caps Lock and Control.
For example, mine looks like
XKBOPTIONS="lv3:ralt_alt,compose:menu,ctrl:nocaps"
then run
sudo dpkg-reconfigure keyboard-configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment