How do i bind the windows(super) key to bring up the taskbar?

18 risposte [Ultimo contenuto]
Embracer245
Offline
Iscritto: 08/24/2015

Does anybody know how to bind the super key (or the windows key, for those new to GNU/Linux) to bring up the taskbar like you do in windows 10 and some common distros like Ubuntu? I see Trisquel does not bring up the taskbar when the super/windows/etc key is pressed by default. Can anybody help me on this?

Embracer245
Offline
Iscritto: 08/24/2015

oh sorry, i meant the quick launch toolbar, not the taskbar. sorry for any inconveniences.

Garsmith
Offline
Iscritto: 07/27/2013

What are you running? Default Trisquel 7? Trisquel 7 Mini? XFCE? MATE? cinnamon? ......?

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

I do not really understand what you want. If you use the GNOME version of Trisquel, find what you want in the "Shortcuts" tab of the "Keyboard" utility in "System settings" and define the shortcut of your choice.

onpon4
Offline
Iscritto: 05/30/2012

What's with the confusion? He wants to make pressing the Super key open the main menu, like Windows does. For some reason, GNOME 2 and consequently GNOME Flashback only supports opening the main menu with Alt+F1, at least by default. Something I never understood about GNOME 2. (I actually didn't even know you could open the main menu with the keyboard at all until one of our blind users pointed it out.)

> If you use the GNOME version of Trisquel, find what you want in the "Shortcuts" tab of the "Keyboard" utility in "System settings" and define the shortcut of you choice.

I'm using Debian now, so it could be that it's different for Trisquel, but I don't see anything under the list of keyboard shortcuts defining what opens the menu. Are you sure it's defined that way? It could be hardcoded, or defined in a way that's hidden.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

He wants to make pressing the Super key open the main menu, like Windows does.

"Quick launch toolbar" = "main menu"? OK.

I don't see anything under the list of keyboard shortcuts defining what opens the menu.

I do not see it either. :-S

On GNOME Shell, pressing Super actually does the same as pressing Alt+F1. It opens the dash to search among the installed programs (or their windows if they are already opened), the files, the contacts, etc.

Turtleman
Offline
Iscritto: 05/22/2013

I believe you can change this with dconf-editor, that's how it works in MATE anyway.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

What path? What key?

Turtleman
Offline
Iscritto: 05/22/2013

org.mate.marco.global-keybindings.panel-main-menu

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

org.gnome.desktop.wm.keybindings contains a key "panel-main-menu" here. Here, it has the value ['(super)s','<(Alt)F1'] (turn the parentheses into less-than/more-than symbols). However, I use GNOME Shell. I do not know if the same works for the default interface.

lembas
Offline
Iscritto: 05/13/2010

If you want to bind super to alt+f1 it can be done using e.g. xbindkeys (daemon) and xdotool.

Embracer245
Offline
Iscritto: 08/24/2015

Does anybody know how to bind the super key to the main menu screen (or the quick launch toolbar)? Any help will be appreciated!

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

It looks like you have not understood the messages Turtleman and I have exchanged. The problem we have is that neither of us actually use Trisquel's default interface. That is why I am not certain the same configuration is available for you. To see that, tell us the output of this command (to be executed in a terminal):
$ gsettings get org.gnome.desktop.wm.keybindings panel-main-menu

loldier
Offline
Iscritto: 02/17/2016

I'm on Trisquel default interface (but Compiz). I get:

['Super s', 'Alt F1']

Just tried default Metacity session and it's the same. But the effect is different. Metacity opens Menu with super+s, Compiz zooms or something like (the screen moves to the right like it was trying to bring up a Unity Launcher).

I had to take the angle brackets out from the code box.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

OK. Then the keybindings to open the main menu can probably be modified. Either through 'gsettings set org.gnome.desktop.wm.keybindings panel-main-menu [value]' where value must be the list of keybindings or through the graphical editor for dconf: dconf-editor. With the latter option, search for "panel-main-menu" or navigate to it: org.gnome.desktop.wm.keybindings.

Embracer245
Offline
Iscritto: 08/24/2015

Apparently that's what i got

e.png
Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Since Alt+F1 is not there, modifying this keybinding may have no effect. What does Super+S (that is the Windows+S on most keyboard) do on your system?

Embracer245
Offline
Iscritto: 08/24/2015

It brings up the quick access toolbar, which is good enough. But how do i make it so that i only have to press super (without the "s")?

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

I would try to remove the "s" with dconf-editor: https://trisquel.info/forum/how-do-i-bind-windowssuper-key-bring-taskbar#comment-92008

I am not sure it will work but it is worth a try. If it works, it may break the shortcuts that involve the "Super" key (it does not with GNOME Shell though).