Ok found the solution.
In the Lubuntu session, the file ~/.config/openbox/lubuntu-rc.xml determines the location of the menu.xml to use.
Rclick desktop > advanced > show menu from window manager.
Can also run pcmanfm --desktop-pref.
Right click on the desktop will now show the Lubuntu menu from /usr/share/lubuntu/openbox/menu.xml
The openbox session menu is @ /etc/xdg/openbox/menu.xml
Copy the openbox menu to ~/.config/openbox/menu.xml so you can edit without root.
Code:
cp /etc/xdg/openbox/menu.xml ~/.config/openbox
Edit ~/.config/openbox/lubuntu-rc.xml to point to ~/.config/openbox/menu.xml
Code:
leafpad ~/.config/openbox/lubuntu-rc.xml
Search for "default menu file"
You will see a section...
Code:
<!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<file>/usr/share/lubuntu/openbox/menu.xml</file>
Change
Code:
/usr/share/lubuntu/openbox/menu.xml
to
Code:
$HOME/.config/openbox/menu.xml
Save and close.
From the right click desktop menu choose reconfigure and you should now see the menu used in the openbox session.
Because your in the Lubuntu session the Exit command is different.
This is my ~/.config/openbox/menu.xml with the exit command edited.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://openbox.org/
file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3">
<item label="Terminal emulator">
<action name="Execute"><execute>x-terminal-emulator</execute></action>
</item>
<item label="Web browser">
<action name="Execute"><execute>x-www-browser</execute></action>
</item>
<!-- This requires the presence of the 'menu' package to work -->
<menu id="/Debian" />
<separator />
<menu id="client-list-menu" />
<separator />
<item label="ObConf">
<action name="Execute"><execute>obconf</execute></action>
</item>
<item label="Reconfigure">
<action name="Reconfigure" />
</item>
<item label="Restart">
<action name="Restart" />
</item>
<separator />
<item label="Exit">
<action name="Execute">
<command>lxsession-default quit</command>
</action>
</item>
</menu>
</openbox_menu>
Bookmarks