<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">sounds a bit like over-engineering, but maybe dbus service will be needed unless we can utilize Lipstick handling of the windows. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Cheers,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Rinigus</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 28, 2020 at 3:38 PM Андрей Кожевников <<a href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">what if you try to remove Exec from desktop file and will handle launch only via dbus service? single dbus service will start applications.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 28 янв. 2020 г. в 01:11, Dietmar Schwertberger <<a href="mailto:maillist@schwertberger.de" target="_blank">maillist@schwertberger.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi!</p>
<p>Single instance handling has always been broken for Sailfish OS
3.</p>
<p>Not even different .desktop files with different Exec entries
like these are working, as they are probably both interpreted as
"python3":<br>
</p>
<pre><code><span>Exec</span><span>=</span><span>python3 </span><span>/</span><span>path</span><span>/</span><span>to</span><span>/</span><span>application</span><span>/</span><span>app</span><span>1.</span><span>py
</span></code>
<code><span><code><span>Exec</span><span>=</span><span>python3 </span><span>/</span><span>path</span><span>/</span><span>to</span><span>/</span><span>application</span><span>/</span><span>app</span><span>2.</span><span>py</span></code>
</span></code></pre>
<p>See
<a href="https://together.jolla.com/question/193960/problem-with-excec-and-single-instance-in-desktop-files-on-sailfish-os-3/" target="_blank">https://together.jolla.com/question/193960/problem-with-excec-and-single-instance-in-desktop-files-on-sailfish-os-3/</a></p>
<p><br>
</p>
<p>(Fortunately for the Python applications there's a workaround:
start both apps within a second or so...)<br>
</p>
<p>Regards,</p>
<p>Dietmar<br>
</p>
</div>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>