将 windows 键绑定到 Lubuntu 开始菜单

abe*_*bel 19 shortcut-keys lubuntu

我正在运行 Lubuntu 11.10。默认情况下,主菜单绑定到 Alt+F1 (A-F1)。这是来自的相关代码~/.config/openbox/lubuntu-rc.xml

<keybind key="A-F1">
  <action name="Execute">
    <command>lxpanelctl menu</command>
  </action>
</keybind>
Run Code Online (Sandbox Code Playgroud)

这有效。当我按 Alt+F1 时,我可以看到开始菜单。

如果我将键更改为“Windows 键 + M”(Wm),我可以使用 Win+M 调出开始菜单

<keybind key="W-m">
  <action name="Execute">
    <command>lxpanelctl menu</command>
  </action>
</keybind>
Run Code Online (Sandbox Code Playgroud)

但是,我无法将开始菜单单独绑定到 Windows 键。如果我尝试用“W”替换“Wm”,“W”字母键将绑定到开始菜单。如果我尝试“W-”没有任何反应,我也尝试过“超级”选项但无济于事。

如何将 Lubuntu 主菜单绑定到 windows Key?

我已经解决了一些相关的 lubuntu 问题,比如这个,它试图做相反的事情。 如何从 Lubuntu 的菜单中取消绑定超级键

Ech*_*ene 27

我设法让它与“Super_L”一起工作,而不是“Super”。希望有效。你也可以设置 'Super_R' 来做同样的事情,如果你有的话。

  • 有没有办法让超级键“切换”菜单?目前,它只能打开它,如果我再次按下它,我将无法关闭它。 (3认同)
  • @levesque [这里](http://askubuntu.com/questions/661724/toggle-lxpanelctrl-menu-in-lubuntu?lq=1),如果你还没有看到它并且仍然需要它。 (2认同)

小智 11

Super_L 为我工作

<keybind key="Super_L">
  <action name="Execute">
    <command>lxpanelctl menu</command>
  </action>
</keybind>
Run Code Online (Sandbox Code Playgroud)