<p></p>
<blockquote>
<p>Hmmm, yes the autotools default of <code>$datadir/applications</code> is pretty much only occasionally right if not a system location.</p>
</blockquote>
<p>Looking at config.log...</p>
<pre><code>datadir='${datarootdir}'
datarootdir='${prefix}/share'
</code></pre>
<p>So $datadir will change depending on $prefix.</p>
<blockquote>
<p>Just a query, shouldn't it be called <code>org.geany.Geany.desktop</code>?</p>
</blockquote>
<p>I see that format used in <a href="https://github.com/geany/geany/issues/2729" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2729/hovercard">appdata</a> files, but I don't see any desktop files with that filename.</p>
<p>The emacs appdata file for example has lines like</p>
<pre><code><component type="desktop-application">
  <id>org.gnu.emacs</id>
 <launchable type="desktop-id">emacs</launchable>
</code></pre>
<p>and 0 A.D.</p>
<pre><code><component type="desktop-application">
  <id>com.play0ad.zeroad</id>
  <launchable type="desktop-id">0ad.desktop</launchable>
</code></pre>

<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-761702949">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZEP3YWXRJSE6CA4N3S2IUKDANCNFSM4WEW67UQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5V4OM6FEGH4RU4CELS2IUKDA5CNFSM4WEW67U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVTKUJI.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-761702949",
"url": "https://github.com/geany/geany/pull/2728#issuecomment-761702949",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>