On a standard US keyboard, I've swapped Caps Lock and Left Control, which is almost essential for proper Emacs
usage.
For symmetry, I'd like to swap ' (the quote
key) to Right Control. xkb
seems like the tool to do this, but there's a whole lot of complexity with rules files, groups, etc. that I can't get my head around.
Can I see an example of how this would be done? I'm guessing that there's some special complexity about trying to turn a non-modifier key into a modifier key.