Re: [Usability] Lightening up the XDG menu



> 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)

Wouldn't it be easier to, for example, only display the mime handler for
text files in the menu ? That way, if kedit is configured to open your
text files, kedit will be in the menu. And the same could go for almost
all menu entries.
Is there a specific technical limitation to that solution ?

-- 
Julien Olivier <julo altern org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]