Re: Important desktop-wide change (MIME)



Hi,

Sean Middleditch <elanthis awesomeplay com> writes:

> We need something that makes it easy to update the database, doesn't
> need modification of package-manager installed files (many systems don't
> support that well at all), and can accurately reflect what MIME types a
> given application can handle...
> 
> What about providing a method for running an external command to list
> MIME types?  i.e., apps that have variable support MIME types (through
> plugins, or whatever) could just offer a utility or command line option
> to list them out, one per line, and the .desktop file could have an
> entry like:
> 
> CheckMimeType=/usr/bin/myapp --list-mime
> 
> Packagers then just need to call the update-mime-database command after
> their plugin is installed.

I like that idea. It would work perfectly for GIMP 2.2 since we
changed our file plug-ins to register the MIME types they are able to
handle. I would add a --list-mime command-line option if you decided
to use it this way.


Sven



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