<p></p>
<blockquote>
<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>
</blockquote>
<p>I don't think Debian goes to any length to tamper with a working upstream Desktop file, so that really seem like an upstream thing to me (and I checked a few, and they are the same as I see).</p>
<blockquote>
<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>
</blockquote>
<p>Well, the <em>only</em> case where it really is that simple is the OP's one, i.e. <code>--prefix=$HOME/.local</code>.  In all other situations the desktop file will not be located automatically by the DE either, so it'd require manual tampering.  Yes, it's easier to just have to move/link the Desktop file than modify it, but it sill doesn't work out of the box.</p>
<p>In any case, again, I don't see a real downside to having a full path, and I see the upside (even if not huge), so why not.</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-761688701">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYOTRPFRFPTUUQQNELS2IGERANCNFSM4WEW67UQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5EOPSBHD3VLGRBVZLS2IGERA5CNFSM4WEW67U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVTHE7I.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-761688701",
"url": "https://github.com/geany/geany/pull/2728#issuecomment-761688701",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>