0
My keyboard setup at home under MacOS uses Karabiner to "Change return to control if pressed with other keys, to return if pressed alone" and it works fine also inside Linux VirtualBoxes.
At work I have a Windows PC and to have the same behaviour I use AutoHotkey with
return::send {lctrl down}
return up::send % (a_priorkey = "enter") ? "{lctrl up}{return}" : "{lctrl up}"
but unfortunately inside Linux VMWares it doesn't work.
Is there a way to have the behaviour in Linux either passing the keystroke from host to guest or running a remapping tool under Linux?