Given: all default 20.04.4 LTS; IBM Modell 300 keyboard, which has no Super (Windows) key.

How can I let Caps Lock key behave as Super key?

I tried running xmodmap -e "keycode 66 = Super_L NoSymbol Super_L" in a terminal window. An individual press of Caps Lock does what Super did. However, Caps Lock+D does not do what Super+D did (show desktop in GDM3)


2 Answers 2


In "Gnome Tweaks" (not installed by default), click "Additional Layout Options".

enter image description here

There, you will find the xkb option "Make CapsLock an additional Super" in the section "Caps Lock Behavior".

enter image description here

While xmodmap also could be used, it is (unfortunately) becoming deprecated in modern desktops. It may be unreliable - stop working when you change keyboard layout, resume from sleep state or attach another keyboard.


For me this was a "Keyboard Layout Option" in the (GUI) settings:

Caps Lock behaviour => Make Caps Lock an additional Super.

  • I wonder if it's different in GDM3 (default of 20.04). I'm unable to find "Keybaord Layout Options" (looking like this: i.sstatic.net/i2ROo.png)
    – Xpector
    Apr 18, 2022 at 14:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .