[AppStream] Introduction of "launchable" tag for metainfo files

Richard Hughes hughsient at gmail.com
Fri Mar 17 15:44:17 UTC 2017


On 15 March 2017 at 12:21, Matthias Klumpp <matthias at tenstral.net> wrote:
> I therefore want to add a generic "launchable" tag to the
> metainfo/collection spec. It would look like this:
> <launchable type="desktop-id">org.example.foobar.desktop</launchable>

Like, although I'm not convinced about the 'launchable' name (although
can't immediately come up with an alternative).

> <launchable type="dbus">org.example.foobar.Run</launchable>

Not like. What parameters are we supposed to call that method with?
I'm sure the desktop would want to pass at least the timestamp to do
focus-stealing prevention.

> <launchable type="command">/usr/bin/foobar %H</launchable>

What does %H mean in the context of a software center?

> So, there is also a more complicated layout proposal for this, which
> we could use instead of the above, and which would - given enough
> metadata - ultimately allow us to even generate .desktop files from
> metainfo files:

I don't like this and moves the metainfo file away from "something for
the software center" to "jack of all trades metadata".

Richard.


More information about the AppStream mailing list