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

Re: The gnome MIME mess



On Fri, 2004-07-30 at 02:30 -0700, Denis Leroy wrote:

Hi,

> I would like to know what is currently the "official" way for a
> packager to add new MIME types and the correct corresponding
> application bindings to Gnome in general, and Nautilus in particular. I
> thought it was just a matter of dropping the right foo.keys and
> foo.mime files into /usr/share/mime-info, but it turns out this has
> pretty much zero effect on anything. Instead one has to edit the
> somewhat obscure /usr/share/mime/packages/freedesktop.org.xml file and
> call the update-mime-database command.

You shouldn't edit freedesktop.org.xml file, but copy your-package.xml
to /usr/share/mime/packages/ and run

update-mime-database /usr/share/mime

> I understand this is being worked on in the next version of Gnome, but
> for the time being, how is one supposed to do this from an RPM spec
> file ?

Regards
	Jan Arne Petersen



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