I've been trying to figure out how to do this withought using the fluxbox-generate_menu script, because the script adds a bunch of unnecessary clutter and I only like to have certian programs in the menu. I searched the fluxbox documentation and man pages, but I finally found what I needed in the fluxbox 0.9.10 changelog.
* [wallpapers] (directory) {rootcommand}
creates a submenu in the menu to click on the wallpaper one wants. default rootcommand is fbsetbg. This works great!
Now I just need to find out how to get it to sort the wallpaper so it shows a different menu for each x number of wallpapers like the fluxbox-generate_menu script. For example:
[edit] apparently I need to upgrade fluxbox .. I'm on version 0.9.9-1 .. so close [/edit]
If the generate script splits the menus up, why not backup your current menu and run the script. Then see how they did it and copy back your original menu.
Last edited by davisfactor; 02-11-2005 at 08:40 PM.
I ran the script as you suggested and the results were surprising. They use a completely different method which would take forever to do manually. I may look at which part of the script does this and try and make a standalone script. Here is an attachment of the section of the generated menu which sets the backgrounds.