How to Add Menu’s in Fluxbox
Fluxbox is an alternate to KDE or Gnome as a desktop environment, it’s extremely lightweight and minimal but sometimes a bit too minimal. I always find I need to add extra menu’s to the existing fluxbox menu’s to make accessing applications more of a snap. Fortunately adding extra menu’s to Flux’s right click entries isn’t too difficult.
To access the menu just right-click on the Desktop and you will see the menu of FluxBox, but if you want to add another application, like VMWare, for instance, you will have to edit the file $HOME/.fluxbox/menu with your favorite text editor, by default it should look like this:
[begin] (fluxbox) [include] (/etc/X11/fluxbox/fluxbox-menu) [end]
Now if you want to add another menu
[begin] (fluxbox)
[include] (/etc/X11/fluxbox/fluxbox-menu)
[submenu] (Virtual)
[exec] (Vmware) {vmware}
[end]
[end]
If you want to add a sub-menu inside the first menu:
[begin] (fluxbox)
[include] (/etc/X11/fluxbox/fluxbox-menu)
[submenu] (Virtual)
[exec] (Vmware) {vmware}
[submenu] (other-menu)
[exec] (Name) {command}
[end]
[end]
[end]
As you can see, it’s pretty simple.