I agree with Hazel. However, bear in mind that the more things you put in your menu file, the slower Fluxbox will fire up when you start your computer. I actually have very few things in my menu file, just limiting myself to stuff my children or my wife use. For the rest, I use the good ol' terminal.
Note the syntax you need to use to edit this:
Code:
[submenu] (name of your submenu) <icon, if you want one>
[exec] (name of application) {command} <icon>
[end] The above defines one command that will appear under one submenu. Here is what I have in my menu file:
Code:
[begin] (fluxbox)
[exec] (Terminal) {/usr/bin/Eterm} </usr/share/pixmaps/gnome-terminal.xpm>
[submenu] (Office) </usr/share/pixmaps/gnome-term-linux.png>
[exec] (OpenOffice.org Impress) {/usr/bin/ooimpress} </usr/share/icons/gnome/32x32/apps/openofficeorg-20-impress.xpm>
[exec] (OpenOffice.org Draw) {/usr/bin/oodraw} </usr/share/icons/gnome/32x32/apps/openofficeorg-20-draw.xpm>
[exec] (OpenOffice.org Base) {/usr/bin/oobase} </usr/share/icons/gnome/32x32/apps/openofficeorg-20-base.xpm>
[exec] (Scribus) {/usr/bin/scribus} </usr/share/pixmaps/scribus.xpm>
[end]
[submenu] (Music and video)
[exec] (Hydrogen) {/usr/bin/hydrogen} </usr/share/pixmaps/hydrogen.xpm>
[exec] (Audacity) {/usr/bin/audacity} </usr/share/audacity/audacity.xpm>
[exec] (KRec) {/usr/bin/krec} <>
[end]
[submenu] (Games)
[exec] (vegastrike) {/usr/games/vegastrike} <>
[exec] (Neverball) {/usr/games/neverball} <>
[exec] (Neverputt) {/usr/games/neverputt} <>
[exec] (njam) {/usr/bin/njam} <>
[exec] (Planet Penguin Racer) {/usr/games/ppracer} </usr/share/pixmaps/ppracer.xpm>
[exec] (Tuxkart) {/usr/games/tuxkart} </usr/share/pixmaps/tuxkart.xpm>
[exec] (Commodore 64) {/usr/bin/x64} </usr/share/pixmaps/c64icon-32x28.xpm>
[exec] (UAE) {/usr/bin/uae} </usr/share/pixmaps/uae-menu.xpm>
[end]
[separator]
[exec] (Lock Screen) {/usr/bin/xscreensaver-command -lock} <>
[exec] (Reboot) {/sbin/reboot}
[exec] (Shutdown) {/sbin/halt} <>
[end] Note that if you still want to generate an automatic menu, you can do this by entering the following command as root, while logged out of Fluxbox:
As I said, you need to be logged out of Fluxbox for this to work, so you can do this in single-user mode, or by pressing Ctrl, Alt and F2 while at the log in Window. When you log back into Fluxbox, you should have the automatically generated menu. However, as I said, I don't like this as it takes some of the 'punch' out of Flux.