Changing what the Windows button (Super button?) does

Hi all,

Very new to Linux, and by no means a techie. I installed Bazzite on my desktop PC, but don't use it much in the handheld mode, so wanted to explore another distro and came across Zorin.

I've seen some others ask the same question: How do I change what the Windows button does. Someone in 2021 shared a screenshot that there was an option to change what the button does in Zorin Appearance, but the specific toggle is greyed out for me and so I'm not able to change it. See the picture below.

Apologies if this has been answered more recently; I'm unable to find any more recent posts related to this that have my "circumstances".

Thanks in advance,
~A

1 Like

You can only switch between the Activities Overview and the Zorin menu there.
Do you have the Zorin menu enabled? Try to select a layout in Zorin Appearance which has the Zorin menu, e.g. the first or second layout.
Some layouts disable the Zorin menu gnome shell extension because the traditional start menu isn't used there by default, then the windows button can not show the Zorin menu and the option is greyed out.
But you can turn on the gnome extension Zorin menu in the extension manager after you have selected those layouts. Then you get Zorin menu back.

This is the layout I have selected:

I don't see a toggle to enable Zorin menu. This is what my taskbar shows. Is there 9-dot icon in the bottom right the Zorin menu?

Thanks for the response!

This layout doesn't have the Zorin menu by default, but you can enable Zorin menu in the extension manager.
The both layouts in the first row have the Zorin menu and when you select them, you can change what the windows button shall do.

Ah okay. With my selected layout, I'd like to see this menu of apps when I tap the window key:

But when I hit the windows key, this is what I get instead:

Is that possible?

As far as I know, it is not possible with the normal settings.

Ah that is a shame. Thank you all the same for your effort!

Wait...I found an extension and will test it.

The extension works with your layout. When you press the Windows button, you see the app overview.

Install the extension manager

sudo apt install gnome-shell-extension-manager

then open it and go to tab "browse" to search for the extension and install it.

1 Like

Oh man, thank you! Works perfectly. Very appreciative.

1 Like

I just notice that you can enable the Zorin menu now in the extension manager at tab "installed". Then you have the Zorin menu in the taskbar and can use it if you like. You can set the windows button to open Zorin menu now, too.

An alternative to open the applications overview (without the added gnome extension) is to press Super+a or press super key twice. This is the default setting.

I see. So, the extension I installed was a workaround, but there is an official method of changing this? Would you suggest reversing the above and just using this menu toggle in Extension Manager instead?

If you haven't installed many additional extensions and the extension works well, you can safely keep it. Extensions are often the easiest way to get a desired feature. However, since problems can sometimes arise when a large number of extensions are installed and enabled, especially third-party ones that haven't been tested for compatibility with Zorin's own extensions, it's good to know some alternatives.

You could set up what the extension does yourself within the system, but for most people and especially Linux beginners, it’s easier to use an extension instead. I use a few extensions myself.

1 Like

Good to know, thanks!

For my own knowledge, if I wanted to reverse the extension I installed, its this one, right?

Yes. With the slider you can disable the extension to turn it off.
And if you want to remove the extension completely from your system, then click on the button remove.

1 Like

I tried toggling off the extension I installed, and turned on Zorin Menu, but it just adds this menu:

The windows button goes back to the overview menu.

What is your aim? If you want to open the applications overview with the Super key, you don't need the Zorin menu. I misunderstood you because I thought you wanted to select Zorin menu to open with the Super key.

Just press the super key twice in quick succession or press super+a, then you see the applications overview and don't need the extension.

All other methods to change the behavior on your own are a bit difficult. It can happen that other shortcuts no longer work when you change the super key because super key is a modulator key.

I think you could do it with xcape, but I wouldn't recommend it for beginners and I haven't tested it yet. The guide is very old and I'm not sure if it would work on Zorin 18. I have changed things with xcape in Zorin lite, but I haven't changed the super key yet in gnome. I think it is possible but not easy if all other keybindings shall be kept.

https://askubuntu.com/questions/1071388/how-to-make-the-left-super-key-open-show-applications-menu-as-a-shortcut?__cf_chl_tk=gRndRR__e7iDpWUoYjMTABPO7DcWmfrPGnDEOzZmjfQ-1793421415-1.0.1.1-YddihlcEh.iRu9dPXJoYdiNBtV.k4fLizraSBES0RR4

I tried it with xcape and as far as I could tell, it worked. I installed xcape

sudo apt install xcape

and added this file to the autostart directory at ~/.config/autostart
(press ctrl+h to show the hidden files in your file manager) and then logged out.
After I logged in, pressing the super key opened the applications overview.

You can test that command before you add it permanently to autostart to see if all keybindings still work by entering the command in terminal

xcape -e "Super_L=Super_L|a"

This command which remaps the left super key to super+a, is reset after you logout.

But if I were you and a Linux beginner, I would use the extension or press super key twice.

You can copy the content here:

[Desktop Entry]
Type=Application
Name=xcape
Comment=Run xcape on startup
Exec=sh -c 'xcape -e "Super_L=Super_L|a"'
StartupNotify=false
Terminal=false
X-Gnome-Autostart-enabled=true

I didn´t change anything in dconf editor/gsettings as shown in the link above.

Note: The tool xcape only works in Xorg, not Wayland. If you want to try it, switch to Xorg first. At loginscreen click on your username then a cog wheal appears at the bottom right corner, there you can switch between Xorg and Wayland.

I noticed, that with this method, the workspaces are shown when you fastly press the left super key twice or you press the super key a bit longer.
To go back to the desktop press the super key again. I'm not sure, if it would be better to add a short sleep time at the beginning of the command, but for me all keyboard shortcuts had worked in my test.

To remove the file from autostart, remove the file completely from the autostart directory or go to the app "startup applications" and uncheck the box for xcape to disable it or click on remove to remove it from the system.

1 Like

I think I'll stick to your original extension recommendation :sweat_smile: works just fine it seems.

Thanks so much for your engagement and help. Much appreciated.

1 Like

To get directly to the Grid:

You have to press fast two Times the Windows Key. Again: fast. Then it gets directly to the Grid View with the Icons.

The other Option would be that You simply click on the Icon in the bottom left:
grafik