The spec currently doesn't support that. Having different applications.menu files seems to me the easiest way to achieve this. I suggest to change the spec a little and introduce an environment variable that contains the name of the applications.menu file. Something like XDG_MENU=kde-applications.menu with applications.menu as default.
Must be a bit careful how to phrase it because it shouldn't affect the default merge dir. Waldo Bastian Linux Client Architect - Client Linux Foundation Technology Channel Platform Solutions Group Intel Corporation - http://www.intel.com/go/linux OSDL DTL Tech Board Chairman >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:xdg- >[EMAIL PROTECTED] On Behalf Of Jonathan Riddell >Sent: Thursday, July 27, 2006 4:18 AM >To: xdg@lists.freedesktop.org >Subject: Multiple Desktops and the Menu Spec > > >What is the best practice for having two desktops each with their own >preferences for the applications menu? > >Currently it seems to me its a choice between one desktop using a >non-standard applications.menu file (e.g. in Kubuntu I use >/etc/xdg/menus/kde-applications.menu) or having one desktop use the >menu layout and strings from the other desktop (and there's anough >differences which mean having a KDE applications menu on Gnome is >quite off-putting to long time Gnome users, same vice-versa). > >Since the first approach has the nasty side effect of breaking any >menu editor and other tool that uses the applications menu, as well as >any standardisation that will need the expected applications.menu file >is there a way to have each desktop with its preferred layout and >still follow the standard? > >Jonathan Riddell >_______________________________________________ >xdg mailing list >xdg@lists.freedesktop.org >http://lists.freedesktop.org/mailman/listinfo/xdg _______________________________________________ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg