Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16568 - Add support for user menus in commonbox-menugen
Summary: Add support for user menus in commonbox-menugen
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Matt Keadle
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 12:04 UTC by Stuart Bouyer
Modified: 2003-06-21 16:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
diff for commonbox-menugen (commonbox-menugen.diff,1.18 KB, patch)
2003-02-28 12:05 UTC, Stuart Bouyer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Bouyer 2003-02-28 12:04:20 UTC
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.
Comment 1 Stuart Bouyer 2003-02-28 12:05:22 UTC
Created attachment 8824 [details, diff]
diff for commonbox-menugen
Comment 2 Stuart Bouyer 2003-06-03 04:45:48 UTC
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
Comment 3 Matt Keadle 2003-06-21 08:10:24 UTC
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.
Comment 4 Stuart Bouyer 2003-06-21 16:47:56 UTC
"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