In Ubuntu 18.10, the shortcut for showing applications is Super+A. Is there any possibility to assign Super alone for that? I tried from the settings-keyboard shortcuts, but it asks for a combination of Super+some-other-key.
1 Answer
Update
The original answer relies on xcape
or ksuperkey
, tools that work on Xorg only. Users on more recent versions of Ubuntu (Gnome Shell 40 and up) can use the extension Start Overlay in Application View by Hex_cz to have Super show applications rather than the overview.
(Previous answer) Xorg only
You can do so by reassigning releasing the Super key alone to a specific shortcut. For this, you need an additional little tool such as xcape
(available by default in the Ubuntu repositories) or ksuperkey
.
First, disable the existing binding of Super:
gsettings set org.gnome.mutter overlay-key ''
Then, have the tool to redirect pressing and releasing Super autostart during login with the following command:
xcape -e "Super_L=Super_L|a"
As Super+a triggers the application overview, this command will trigger that binding if you press and release Super.
-
This does not work in Ubuntu 22.10. Not sure if it worked for any other versions after 18.10 either. Commented Nov 13, 2022 at 11:10
-
@Sнаđошƒаӽ indeed
xcape
andksuperkey
only work on Xorg. On 22.04 and up, Wayland has become the default.– vanadiumCommented Nov 20, 2022 at 11:53 -
@Sнаđошƒаӽ there is now an extension. I updated my answer.– vanadiumCommented Nov 20, 2022 at 12:06