This question already has an answer here:

For a long time I have disabled my Caps Lock key using xmodmap. However I would now like to map it to something useful, specifically Shift+Insert which does the same as the mouse middle button (if you have one).

I don't think this can be done simply with xmodmap because I don't think you can generate a Shift+key directly.

Can anyone suggest a simple way of doing what I want?

marked as duplicate by user34720, garethTheRed, Anthon, Stephen Kitt, Flup May 16 '16 at 15:08

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.

  • The key thing in my question is how to map the Caps Lock key to a Shifted key. All the 'duplicates' don't do this as far as I can see, – Chris Green May 16 '16 at 19:52