75

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

How can I do that?

Jorge Castro
  • 71,754
emeraldhieu
  • 2,410
  • The "Super" key (a.k.a. "Windows" key) acts like a meta key such as Ctrl and Alt. In Unity, it's supposed to open the Launcher. To open the applications menu, use Alt + F1. I've no idea how to disable it though. – Lekensteyn Feb 19 '12 at 12:10
  • See https://askubuntu.com/a/1039164/587882 to disable the super key for the launcher. – AnthonyC Mar 31 '20 at 01:24

5 Answers5

72

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

desgua
  • 32,917
  • The tab layout is different now (in 13.04), but you click around you can still find the Launcher setting, and it still works. This is a blessing for Emacs users. – user100464 Aug 06 '13 at 14:32
  • This does not work anymore. I have no idea why but it appears like there is no way to disable the "Super" key showing the "search bar" in Ubuntu anymore (if there ever was a way). I've tried literally everything. – Mike May 05 '15 at 23:35
  • @Mike, it works for me (Ubuntu 15.04), it's like user100464 said, it's just in a different location – david-hoze Sep 07 '15 at 19:48
  • 3
    Works for me Ubuntu 15.10. The new location is "Ubuntu Unity Plugin > Launcher" – Nathanael Weiss Jan 24 '16 at 06:39
  • I disabled "Key to show the launcher", but now a new search felt pops up "type your command" when I press the super key. Ubuntu 17.04 – Peheje Sep 01 '17 at 08:34
  • @Peheje you an use compizconfig-settings-manager to search and disable or change yours keyboard shortcuts. – desgua Sep 02 '17 at 10:33
  • "Hit Alt+F2, type about:config and hit Enter" : That results in "Command not found" (18.04). – Nicolas Raoul May 18 '18 at 07:11
  • 4
    In 18.04 ccsm's advanced search does not find anything for "launcher". – Nicolas Raoul May 18 '18 at 07:26
  • @NicolasRaoul As noted above, this works for the latest install on ubuntu 16.04: in the filter box, type: "ubuntu unity plugin", and then you'll be in the "unity" meny. Then click the launcher tab. Or if you want more visual steps: https://www.faqforge.com/linux/make-super-key-launch-custom-program-rather-unity-search-ubuntu/ – FXQuantTrader Mar 20 '19 at 12:01
21

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 ""
20

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

11

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

keycode 133 = NoSymbol
keycode 134 = NoSymbol
0

As @user.dz has mentioned here, you can install gnome-tweaks either from Ubuntu Software or via apt.

Then, going through Keyboard & Mouse, under Keyboard, you can set Overview Shortcut to Right Super.

It happened to work for me since I almost always use the left Command key on my Mac.