What is the command to execute main menu in openbox in Lubuntu 22.04?

In LXDE it was lxpanelctl menu:

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

Is there a command to execute main menu in openbox in Lubuntu 22.04?

For LXQt, there is no command to bring up the menu.

AFAIK, LXQt uses DBus (basically a messenger between processes).

But there is already a keyboard shortcut ALT-F1 that does it.
(don’t bother copying the shortcut, it won’t let you).
Although you can change it to something else, e.g SUPER_L (the win-key).

If I do ALT+F1 in Lubuntu 22.04.1, then nothing happens.

Although you can change it to something else, […]

Where can I change it?

Where can I change it?

There are four ways to do it.

1)a Right-click the main menu on the panel
b> Configure Application Menu
c> Click the button to record shortcut:
(you have 1 sec to hit a new key e.g win-key)

2)a Right-click the panel
b> Manage Widgets
c> click Application Menu (mainmenuX)
d> click the settings button (…)
> (same as 1c).

3)a Right-click the panel
b> Configure Panel
c> Widgets
d> (same as 2c)

(note the X is the menu number for below)

4)a Main menu > Preferences > LXQt Settings > Shortcut Keys
Find the row with Alt+F1 or panel/mainmenu/X/show_hide
b) double-click this row.
c) click the Shortcut.
You will have 10 secs to enter another key.
d) press the win key (Super_L)
e) > OK

Now when you press win key, the LXQt panel main menu appears on the panel you changed.

2 Likes

Thank you so much for your help. The solution 4 worked for me because the thing was to activate it there first, so that the shortcut can work again, but with an other shortcut than the default shortcut.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.