Ubuntu – How to set the compose key to End


Note: I am using the Gnome desktop environment

My laptop keyboard has only the keys it needs, and few of the normal compose keys available. I use them all.
I'd like to set the compose key to End, but it's not on the list in Gnome Tweak Tool:

enter image description here

How can I set the compose key to End?

Best Answer

  • I solved the problem with help from @chaskes:

    xmodmap -e "keycode 115 = Multi_key End"

    remapped the first level of End to the compose key, but allows me to press Shift-End to send an actual End keypress. I made this permanent by putting it in my ~/.xinitrc.

    Other sources: