17

I am running Lubuntu 11.10. By default the main menu is bound to Alt+F1 (A-F1) which works. Here is the relevant code from ~/.config/openbox/lubuntu-rc.xml

<keybind key="A-F1">
  <action name="Execute">
    <command>lxpanelctl menu</command>
  </action>
</keybind>

This works. When I hit Alt+F1, I can see the start menu.

If I change the keys to "Windows key + M" (W-m), I can pull up the start menu using Win+M

<keybind key="W-m">
  <action name="Execute">
    <command>lxpanelctl menu</command>
  </action>
</keybind>

However, I cannot bind the start menu to the Windows key alone. If I try replacing "W-m" by "W", the "W" alphabet key gets bound to the start menu. If I try "W-" nothing happens, I have tried the "Super" option too but to no avail.

How can I bind the Lubuntu main menu to the windows Key?

I have been through some relevant lubuntu questions, like this one, which tries to do the opposite. How do I unbind Super key from menu in Lubuntu

24

I managed to just get this to work with 'Super_L', not 'Super'. Hope that works. You could also set 'Super_R' to do the same thing, if you have one.

  • 1
    I remember seeing Super_L when I was searching for a solution, but thought it referred to Win+L key. Ah! it refers to the left Windows key. Thanks. – abel Nov 15 '11 at 18:07
  • 3
    Is there a way to get the super key to 'toggle' the menu? Currently, it would only open it, and I wouldn't be able to close it if I pressed again. – levesque Nov 11 '14 at 18:57
  • 2
    @levesque Here, if you haven't seen it and still need it. – Scimonster Feb 28 '16 at 14:08
  • Is there a way to close the menu again by pressing the same key? – kiltek Oct 22 '17 at 19:49
10

Super_L worked for me

<keybind key="Super_L">
  <action name="Execute">
    <command>lxpanelctl menu</command>
  </action>
</keybind>
  • 1
    how can do refresh it in my bash? should I reboot? I've tried lxpanelctl restart, but it dont work – Milor123 Mar 2 '18 at 20:48
  • 1
    Fix confirmed working on Lubuntu 14.04, but destroys Win + ArrowLeft, and other keybindings to position windows on the screen. – user14654 May 17 '18 at 20:07
1

Ubuntu 10.x

In terminal:

gconftool-2 --set /apps/metacity/global_keybindings/panel_main_menu --type string "Super_L"

From: http://www.howtogeek.com/howto/27038/use-the-windows-key-for-the-start-menu-in-ubuntu-linux-10.04/

  • Did not work on Lubuntu 14.04. – user14654 May 17 '18 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.