Having been a fluxbox user prior to the release of commonbox-utils, I already had a customized menu for fluxbox. My one minor annoyance with the great commonbox-menugen tool was the need to edit it and update the sytemwide menu with changes whenever I remerged flux or commonbox-utils. I decided to add support to commonbox-menugen for user generated menus along the same lines as the kde and gnome menus. The attached diff adds a -u flag which adds a submenu pointing to ~/.menu allowing users to customize their menus without affecting the system menu. Hopefully other will find this usefull too. StuBear Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 8824 [details, diff] diff for commonbox-menugen
Does this not warrant even a comment? It's been 2 monoths - even a 'your idea sucks and we'll never use it' would be good StuBear
Sorry StuBear. I've been... out. I've looked for ways to do this before, so it's a valid idea. The problem is one of finding a way to make it work for all the boxes and be as transparent as possible. The addition of the -u flag is a good direction, but using something like ~/.menu doesn't seem like the best option. Depending on which *box you're using, the menu will/could exist in ~/.fluxbox, ~/.openbox, or ~/.blackbox. Personally, I've gotten around this by using a ~/.commonbox directory and symlinking the others to it. Having said all that, I think things are best left where they are for now. the script already has the following: -o Outputfile; default is /usr/share/commonbox/menu which lets you direct the output to your own location. Also, commonbox-menugen is obviously based on fluxbox-menugen. Fluxbox has a new dev branch and I've been spying on the menugen script in that with plans to mod it out and slip that in soon. Support for user menus will get here.
"the script already has the following: -o Outputfile; default is /usr/share/commonbox/menu which lets you direct the output to your own location." Yes, but this is not what I want to do!. I want to use the script generated menu PLUS a submenu of my own tweaking (ie running Eterm transparently, opening sylpheed with Japanese input support etc) Hopefully the next generation fluxbox-menugen will do what want