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

Nicu Buculei nicu_fedora at nicubunu.ro
Tue Feb 24 11:03:34 UTC 2009


Caolán McNamara wrote:
> On Tue, 2009-02-24 at 12:36 +0200, Nicu Buculei wrote:
>> Caolán McNamara wrote:
>>> 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.
>> This is supposed to also work the other way: with the extension NOT 
>> installed an user click on a file of that type and PackageKit pop-up, 
>> ask about installing the extension, do its job, the extension is 
>> installed and the file successfully opened?
> 
> Is that a question or a statement ? I mean, is that a wish-list, or is
> it something which has been already implemented and is supposed to work
> right now ? If it is, what's the mechanics behind PackageKit determining
> the right package to provide a handler for the extension, is it .desktop
> file parsing for handled mime-types ?

It was a honest question, since PackageKit is able to do such things as 
not only installing codecs when needed but even installing fonts when an 
application needs them, finding the correct application to open a file 
seems a logical thing from an usability point of view.

-- 
nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com/




More information about the Fedora-desktop-list mailing list