I have tried a few different ways to remap ctrl and caps lock and none of them seem to be working. I am running Ubuntu on a Mac through VirtualBox. The two methods I have tried are using
and altering the file
Neither of these options successfully make caps lock function as a ctrl key. What is really frustrating is that it DOES effectively change the control key to a caps lock key, however, this renders emacs pretty much useless and I can't even do basic commands.
Has anyone had this problem? Or know a work around? (I know that I can swap the keys on my mac itself, but I would like to only have them swapped inside the ubuntu environment.)