<p></p>
<p>Thinking about it, distros can use just the command because they install programs in system directories, which are in the default PATH, so the desktop will look there.  So it is expected that all of Debian <code>.desktop</code>s will only have the command.</p>
<p>Bright packagers like <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/hyperair/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hyperair">@hyperair</a> will set the <code>.desktop</code> to suit their distros rules anyway.</p>
<p>So <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/b4n/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/b4n">@b4n</a> what Debian does for software in its repo is not good guidance for what we should generate in a default <code>.desktop</code> that may be installed outside system directories.</p>
<p>For user installs outside the system directories the path is needed because it isn't installed in a system directory, so the desktop will not find it in its PATH, so no install outside system directories will work with a <code>.desktop</code> otherwise.</p>
<p>So the <code>.desktop</code> we generate on a build should have the full path.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2728#issuecomment-761686486">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5LN5Z5UPKGURFY26TS2IEIXANCNFSM4WEW67UQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4UE5BSDTJ3DUTMGO3S2IEIXA5CNFSM4WEW67U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVTGTVQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2728#issuecomment-761686486",
"url": "https://github.com/geany/geany/pull/2728#issuecomment-761686486",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>