I want to remap Caps Lock to Esc on my Ubuntu 17.10 laptop.
I have tried this method: How to remap key in Ubuntu 17.10 Wayland? (Up key to Shift), this method: https://linuxcommando.blogspot.ca/2008/03/remap-caps-lock-key-for-virtual-console.html, and this method: https://wiki.archlinux.org/index.php/Xmodmap to no avail.
Neither work, Caps Lock is still Caps Lock.
How do I remap these keys system wide? It's dead simple in OSX, there is a setting in system preferences to make Caps Lock Esc and that's it, it works in every app. Is there anything similar in Ubuntu 17.10?