I managed to remap the Caps Lock key to Escape, but I can't find a way to remap the Escape key to Caps Lock.

The reason why I want to do this is that I usually use X11 on Linux where this is available as an option.

Browse other questions tagged .