Best way to register a file format plugin for an app with nautilus's mime-handler etc.

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



So, here's the example scenario: Someone writes an extension for
OpenOffice.org writer which adds a file format importer and that gets
packaged into Fedora. Is there a way to then register the extra
mime-type that writer now supports if, and only if, that extension is
installed.

The mime-type field in .desktops
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
basically assumes a static list of supported mime-types. Adding the
mime-type to the writer list would claim that it always can open the
type, which isn't true if the extension isn't installed.

So is the right solution to install a new .destop along with that
extension with NoDisplay=true set and the list of extra mime-types that
the extension adds to writer and then use the same Exec line from the
normal parent package .desktop ?

C.

-- 
Fedora-desktop-list mailing list
Fedora-desktop-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-desktop-list

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux