Modifying an existing desktop file's MimeTypes

2014-01-10 Thread Jerome Leclanche
Consider the following use case:

"gimp" supports image/png. "gimp-webp-plugin" makes gimp support image/webp.

How would gimp-webp-plugin declare that it makes another app support
additional mime types? I don't think it's possible currently.
Suggestions?

Mime actions could theoretically do that (in a system-level
mimeapps.list), but most package managers do not have the ability to
modify a file shared by multiple packages (we'd have to create
something silly like /usr/share/applications/actions.d/).

J. Leclanche
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: expanding the inhibit spec

2014-01-10 Thread Bastien Nocera
On Thu, 2014-01-09 at 13:08 -0500, Ryan Lortie wrote:

> It's a whole other issue, though, when we start to talk about
> independent app vendors who don't want to use Gtk.  People who want to
> make something in SDL and have it just work.  What do we tell them?  I
> guess we could start by asking them "what is your intended platform?"

SDL is a bad example. The only inhibitor it uses is idle inhibition, and
I already cooked up a patch for it to use the (existing) fd.o spec for
that:
https://bugzilla.libsdl.org/show_bug.cgi?id=2169

___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg