[Usability] Lightening up the XDG menu

George jirka at 5z.com
Wed Mar 31 03:08:57 EEST 2004


On Sun, Mar 28, 2004 at 12:29:57PM -0700, Ryan McDougall wrote:
> My two cents (forgive my ignorance of the XDG standard) : I think we
> should specify what gets shown to the screen on a role basis. Perhaps we
> can have one .desktop file Called "Editor" that has subfields
> InGnome=gedit, InKDE=kedit, Default=emacs, etc. That way each dekstop's
> menu could choose whether to show their only own items, only GNOME+KDE's
> items, or only default items, etc.

that would require each editor to know about other editors or to have shared
.desktop files for kedit/gedit which is impractical from packaging
perspective.

Perhaps a good solution to this would be something like the above, perhaps
adding 

ExclusiveRole=GNOME;Editor

to gedit.desktop and

ExclusiveRole=KDE;Editor

to kedit.desktop,

Then say inside KDE the vfolder code could simply ignore any entry with
ExclusiveRole=GNOME;Editor (or any other ExclusiveRole=XFCE;Editor)
in case an entry with ExclusiveRole=KDE;Editor exists.

This would allow using kedit in GNOME if gedit is not installed (with editors
this is not an issue, but it could be issue with web browsers, mailers or
some such that don't ALWAYS get installed)

George

-- 
George <jirka at 5z.com>
   Who killed bambi?   -- Sex Pistols




More information about the xdg mailing list