The Caps Lock key serves mainly as a source of annoyance, and receives far too much real estate relative to its use. However, the Esc key is quite useful (I'm primarily a Vim user), but is far too hard to reach. Currently, Éowyn has altered key settings to make life a bit easier. The Caps Lock key now acts like the Esc key.
I first tried this using the command
On Cinnamon, which
is what I'm currently using I used to use, the solution was a bit different,
and I liked it a lot less. I thought the process would be similar, using some form of
gnome-tweaks since Cinnamon is GNOME-based, but it was a fair bit messier.
Edit the file /etc/default/keyboard as superuser. There'll be a line with XKBOPTIONS="blah", where blah represents your current settings, most likely nothing. Just put the string caps:escape inside of those quotes and restart. That's it!
Yeehaw. On i3, things, uh, work a bit differently, since the normal tools I use are not easily available to me. Here's the entirety of the previous file:
Right, so here's an even easier solution! Just add the following line to your config:
I really felt the need to add this at a later date. Why, you might ask? Sheer fear (which is also what I felt writing half the content on this website).
To be kinda vulnerable on the internet: like a lot of folks, when I'm stressed, I like to change things, often a bit impulsively. This could be a haircut, reflashing my computer with a new distro, clean up/decorate my work space, etc. And these actions all have their own consequences.
This time, I disabled my arrow keys, using xmodmap, which I talked about earlier on this page. I guess I thought I needed to learn Vim and Emacs (since the default for terminals is Emacs) keybindings. Based on what another user said on StackExchange, I ran the command