Supporting mime types in desktop actions

Сергей Давыдов shnatsel at gmail.com
Sun Nov 4 07:22:15 PST 2012


> The idea behind the addition is to be able to specify *extra* actions in
> addition to the "main" one, so it would more likely look like
> image/png=myapp.desktop;myapp.desktop[Print];myapp.desktop[Share]
>
> And in a context menu it would look something like:
>
> ====
> Open
> Copy
> Open with... >
>  - My App (default)
>    -------
>  - Print with My App
>  - Share with My App

That's what Contractor does in elementary: it provides additional
actions for mimetypes, e.g. uploading photos to Flickr or rendering
SVGs with Inkscape. However, Contractor implemented this vi separate
.desktop-like file for every action.

There's no such thing as "default" Contractor action, though; the user
is always presented a list of actions to perform.
More info on Contractor is available from
http://elementaryos.org/journal/contractor-not-sharing-service and
http://elementaryos.org/docs/contractor

--
Sergey "Shnatsel" Davidoff


More information about the xdg mailing list