You are not logged in.
I have been using Openbox for a while. I have edited menu.xml several times to add items to existing menus. However, when I create my own menu using a unique menu id, it does not appear.
For instance adding new items to
<menu id="apps-accessories-menu" label="Accessories"> (one of the original menus) works just fine. So I tried to add another using a custom menu id and reconfigured, but it didn't show up.
I tried changing the id of my custom menu to "apps-accessories-menu" and it caused my custom menu to show up which prevented the original menu. (Which I expected since the documentation says the menu ids must be unique) This makes me think that there is a list of potential menu ids, but I was unable to find one.
I then tried to use obmenu to create a new menu item and when I opened it, it recognized my custom menu! I used it to create another menu which saved successfully into my menu.xml, however, when I reconfigured (and rebooted, etc...) the new items still fail to appear.
I've also done a system upgrade, but I'm not sure what else to do. Thanks for any help!
Last edited by Ezea (2014-03-30 03:39:35)
Offline
At the end of the menu.xml file is a menu with the menu id:
<menu id="root-menu" label="Openbox 3">You have to add your custom menu to that. As an example, have a look at this - https://github.com/genghizkhan91/dotfil … x/menu.xml Note how every menu has been listed under the "root-menu".
Edit: Corrected spelling error
Last edited by genghizkhan91 (2014-03-29 15:07:37)
Offline
genghizkhan91, first you conquer Asia and now my Openbox problem. Thank you for your help. It worked perfectly.
I am curious as to why it is not documented more clearly on the Openbox site, but perhaps I missed something. Moreover, its strange that the root menu isn't adjusted from obmenu. Either way, it worked great.
Offline
Offline