XDG Menus GNOME vs. KDE
Waldo Bastian
bastian at kde.org
Thu Jun 9 16:14:34 EEST 2005
applications.menu is the entry point for everything that ends up in the menu.
If you want to have a desktop-specific menu I would add code that selects a
file other than applications.menu as a starting point. Then what you will or
will not get in your menu will depend on what you put in that other .menu
file.
Cheers,
Waldo
On Thursday 09 June 2005 12:45, Travis Watkins wrote:
> On 6/9/05, James Richard Tyrer <tyrerj at acm.org> wrote:
> > CORRECTED POSTING.
> > KDE installs:
> >
> > applications.menu
> > kde-information.menu
> > kde-screensavers.menu
> > kde-settings.menu
> > applications-merged/kde-essential.menu
> > applications-merged/kde-multimedia-music.menu
> >
> > and then if you edit the menu:
> >
> > applications-merged/applications-kmenuedit.menu
> >
> > So, your suggestion would seem to be compatible with the current KDE
> > practice -- only two would need to be renamed, the first one:
> > "applications.menu" as you suggest, and the menu edit file.
> >
> > But, I wonder about how software would parse this. In the "menu"
> > directory, there is no problem, the menu would only use the files that
> > started with "kde-", which the program would know.
> >
> > But, I have added:
> >
> > applications-merged/Engineering.menu
> > applications-merged/misc.menu
> > applications-merged/xwp-office.menu
> >
> > as you can see, the third one could be a problem. Is there a desktop
> > called: "xwp"? So, I would suggest that if we are going to do it by
> > prefix that this be setup like this (in my example):
> >
> > kde-applications.menu
> > kde-information.menu
> > kde-screensavers.menu
> > kde-settings.menu
> > kde-applications-merged/essential.menu
> > kde-applications-merged/multimedia-music.menu
> > kde-applications-merged/applications-menuedit.menu
> > applications-merged/Engineering.menu
> > applications-merged/misc.menu
> > applications-merged/xwp-office.menu
> >
> > and there is no ambiguity even though the parser doesn't know the names
> > of all the desktops. All it needs to know for KDE is: "kde" and
> > "applications". The last three would be used by all desktops.
> >
> > --
> > JRT
>
> This sounds even better to me. Anyone else have any comments on it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20050609/1d9956c9/attachment.pgp
More information about the xdg
mailing list