Bind the Super-Key to a custom action
This extension is a fork of Pop Launcher Super-Key. Instead of showing the Pop launcher the user can choose to perform a custom action.
The action performed can be chosen in the extension settings by entering the command to execute.
Default command is nautilus
which opens the default gnome file manager, I chose this just because I
expect almost everyone to have it installed.
The typical use is to bind another launcher of choice (such as Albert) to Super. But there are really no restriction, you can set any command you want.
Using gnome settings to bind shortcuts is impossible to use Super both as a modifier and as a proper key: If I bind something to Super the action will fire before I press anything elese, and I will not be able to bind something to Super + A for example.
Super Key solves this by activating the super action on release of the key if no other shortcut was activated in the meanwhile.
- Download zip from the releases section
- Extract in a folder named
[email protected]
- Add the
[email protected]
folder to GNOME extensions folder* - Restart the GNOME shell**
- Open (or restart) the Extensions app (or Tweaks app)
- Enable 'Super Key'
- Click 'Settings' button of 'Super Key'
- Set the desired command and close
- Restart the GNOME shell again**
- Enjoy
* Default folder should be ~/.local/share/gnome-shell/extensions/
for manually installed extensions
if there isn't this directory, create it.
** Hit Alt + F2 type r
and hit Enter, if you prefer
you can log out instead.
The default behaviour of Super is already both as key and modifier but the effect is to show the application overlay. This extension changes the shell code in order to run a custom command instead.