Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I edited the file /etc/default/keyboard adding the line XKBOPTIONS="caps:swapescape" to swap my caps lock and my escape key for using Vim. I think you can disable keys as well by using this file. These changes are system wide for all users. I'd add an answer if I had time to look into it fully for you. Also, I'm on Debian. askubuntu.com/questions/342066/… I also needed to install console-common and console-data for it to work (in Debian). Commented Jul 17, 2017 at 15:57
  • I think changes will take effect in /etc/default/keyboard by rebooting without having to run sudo dpkg-reconfigure keyboard-configuration. Commented Jul 17, 2017 at 16:47