This question already has an answer here:

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.

marked as duplicate by Allan, Nimesh Neema, Glorfindel Dec 11 '18 at 13:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged .