Bug#259400: How to a user can add menu entry for GNOME ?

Bill Allombert Bill Allombert <allomber@math.u-bordeaux.fr>, 259400@bugs.debian.org
Tue, 5 Oct 2004 16:20:36 +0200


On Tue, Oct 05, 2004 at 03:54:52PM +0200, Sebastien Bacher wrote:
> Le mardi 05 octobre 2004 à 15:24 +0200, Bill Allombert a écrit :
> > On Tue, Oct 05, 2004 at 11:45:17AM +0200, Sebastien Bacher wrote:

[to clarify: bug #259400 is about fix the gnome-panel menu-method to 
work correctly for non-root users. This involve creating a menu
hierarchy somewhere which is picked by GNOME at start up.]

> > Browsing applications:/// does not show the Debian menu, however.
> > Why it is so ?
> 
> The distribution menu is not a vfolder but a special part of the code.
> It's made with desktop files in /var/lib/gnome/Debian/. 

Is there a way to have GNOME look for the Debian menu in the user
home directory and revert to /var/lib/gnome/Debian/ if it is not found ?

> > I am must say I am a bit confused by the way menus are handled.
> 
> The GNOME applications menu uses desktop files installed. For the moment
> this part of code doesn't respect the freedesktop specifications (at
> least in the upstream code, some distributions have made work on this).
> Upstreams are working on this and GNOME 2.10 will probably use the
> freedesktop specs.

I was expecting that, thanks for the clarification.

> > It seems to be a modified version of XDG menu for most part
> > but the Debian menu being implement by another scheme.
> 
> What's different ?

Debian menu is not implemented as a vfolder.

> > This should probably be fixed given than Debian menu handle XDG menu
> > quit nicely with the menu-xdg package.
> 
> What would you like to change/fix exactly ?

If Debian menu was implemented as a vfolder, I could just change
userprefix to
userprefix=".gnome2/vfolders/applications/Debian/"
in the gnome-panel menu-method and update-menus run by a user would
work.

Since it is not the case, I need another mechanism to achieve that.

Of course, you might come with a better idea.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here.