How do I disable the Super key?

I want to disable the Super key, when I press Super nothing should happen.

How can I do that?


You can change that in Compiz.

  1. Install compizconfig-settings-manager

    sudo apt-get install compizconfig-settings-manager
    
  2. Hit Alt+F2, type about:config and hit Enter to open the Unity configuration.

    Or run ccsm on the command line.

  3. Change or disable the shortcut for Key to show the launcher as you like to free your Super key:

    enter image description here

enter image description here

enter image description here


Execute the following command and then log in Unity desktop environment again.

dconf write /org/compiz/profiles/unity/plugins/unityshell/show-launcher '""'

In Ubuntu 12.04 and later:

gconftool-2 --set "/apps/compiz-1/plugins/unityshell/screen0/options/show_launcher" --type string ""

Just putting the following lines into your ~/.Xmodmap and then log out and log in Unity again.

keycode 133 = NoSymbol
keycode 134 = NoSymbol

In Ubuntu 20.04, running this command works for me:

gsettings set org.gnome.mutter overlay-key ''

From https://ubuntuforums.org/showthread.php?t=2405352