A question about the openbox menu.
I have another laptop that I put openbox on, everything is fine and dandy on it but why does it have a bunch of programs in that menu that I never installed?
The menu doesn't seem to want to update with the applications that I have installed.
I don't have much experience with openbox apart from archbang but I did a real arch +openbox install and I'm a little confused.
About this post
- Posted
- Archived
- Score
- 9 · 100% up
- Kind
- Text
- ID
- is9sr
11 comments
Hm? I think you're still just using the default menu, that's alright though. It can be taken care of.
If you want a dynamic xdg menu, just follow these steps:
Install the archlinux xdg menu system(Pretty much the debian menu system re-implemented) and garcon, Xfce's menu file:
pacman -S archlinux-xdg-menu garcon
Now it's just a matter of including it in the menu, in the body of the menu.xml file(right below the <openbox_menu> tag). Put this in:
<menu id="xdg-menu" label="Applications" execute="xdg_menu --format openbox3-pipe --root-menu /etc/xdg/menus/xfce-applications.menu"/>Now in the root-menu (Below the tag <menu id="root-menu" label="(Whatever)">) Put this in:
<menu id="xdg-menu"/>That's it, now you have an auto-updating xdg applications menu in your menu.
That's very cool. Is there any way to get it more...in-line? Right now there are 2 levels of menus, but I'd like to only have 1...
Hm? You mean having the menu read into the root menu directly? Unfortunately there's no way to do this. You'll need a menu generator like obmenugen, that can do it even without this script. Although the only thing is that it limits what you can do with the menu to its own system.
It's in the aur under obmenugen-bin.
Would that work with fluxbox?
Yep, just change the format to fluxbox and pipe the menu to somewhere:
then include it in your fluxbox menu
Alright, these instructions are pretty simple.
Thanks.
open box doesn't have a menu maker like efce or other WM, but there are programs that can make it for you. (obmenu, menumaker, etc)
Your menu is at ~/.config/openbox/menu.xml
Deleted before we saved it.
yes I talk about obmenu in my comment.