2

I used the answer on Have application menu open up with only Windows key to open the applications dock with Win key (works perfectly). Is there a way to have it close again using Win key? It just stays there unless I manually click somewhere else on the screen.

2 Answers 2

2

Please, use my updated answer:

gsettings set org.gnome.mutter overlay-key "'Super_L'"
gsettings set org.pantheon.desktop.gala.behavior overlay-action "'wingpanel --toggle-indicator=app-launcher'"

This solution works fine both on open and close Slingshot (the application launcher).

0

What you ask is not possible if not by hacking the source code of Slingshot (the application launcher).

After Slingshot has been opened with the Win key, it gets the focus. So you would have to be able to "tell it" that it should close if you press the Win key again.

1
  • This answer is a bit late, I use Windows 10 now
    – user3637
    Commented Jan 4, 2017 at 0:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.