<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 26, 2013 at 7:55 AM, Jerome Leclanche <span dir="ltr"><<a href="mailto:adys.wh@gmail.com" target="_blank">adys.wh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Dec 26, 2013 at 12:35 PM, Thiago Macieira <<a href="mailto:thiago@kde.org">thiago@kde.org</a>> wrote:<br>
> On quinta-feira, 26 de dezembro de 2013 10:56:11, Jerome Leclanche wrote:<br>
>> I'd really like to be able to get the binary name from desktop files<br>
>> (eg a way to "start without any argument").<br>
><br>
> Why?<br>
><br>
<br>
</div>I need it for intents, for one. Secondly, what I said above: Runners<br>
need it in order not to fail for some programs. And third, it seems<br>
absurd that it's not something possible to date.<br><div class="im HOEnZb"></div></blockquote><div><br></div><div>Why do you need it for intents? If it's to show the name of the binary to the user, I'm quite sure they'd love to see 'baobab' or 'palimpsest' or 'wine-server' instead of the app that they launched.<br>
<br>If it's to identify an app, doing it by binary is a terrible idea, since then you're not going to capture all of the single-binary use-cases, such as 'wine-server'. Firefox / Chrome apps also generate desktop files and try to change the WM_CLASS at runtime to show what app is currently running. Use the various existing ways to map an application back to its .desktop file and DBus name.<br>
</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im HOEnZb">
> --<br>
> Thiago Macieira - thiago (AT) <a href="http://macieira.info" target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" target="_blank">kde.org</a><br>
> Software Architect - Intel Open Source Technology Center<br>
> PGP/GPG: 0x6EF45358; fingerprint:<br>
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358<br>
><br>
</div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> xdg mailing list<br>
> <a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
><br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div></div>