After extensive search, I've only found guides to remap/swap Caps Lock to something like Control. However, I am trying to make Caps Lock another Enter (to be precise, I want it for one-handed 'Run' in Rstudio).
It seems that the XKB-options only allow very specific commands that can be found by:
man 7 xkeyboard-config
These options are also the ones that most tweak tools allow. Is there any more powerful option, that allows remapping Caps Lock to an arbitrary key, in particular Enter, or should I give up my search?