<p>When I look at examples for creating .desktop files, it's recommended to use the full path to the binary. One practical advantage to this is when the --prefix is changed when running <code>./configure</code>.  For example, if I use <code>--prefix=$HOME/.local</code>, Geany will show in my desktop menu, but even though $HOME/.local/bin is already included in my PATH, Geany won't execute because the <code>Exec</code> line in the desktop file is simply 'geany'.</p>
<p>I included some other trivial changes in this PR to make more practical use of the new 'geany.desktop.in.in' file.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2728'>https://github.com/geany/geany/pull/2728</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>writes absolute path to geany bin in desktop file</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2728/files#diff-0462e381b2fb3286568215681c8983490a37ac9ae0f0c5ee304df7fa6426d4af">Makefile.am</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2728/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810">configure.ac</a>
    (4)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/geany/geany/pull/2728/files#diff-4c902b531b703d20e1050ef1c59bc1735745b5a608f7f2a0d972fff2f6a962ee">geany.desktop.in.in</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2728/files#diff-c8610d58f5187ce99b46f6f1bc6cadcd76c294927948e9655047517e8d043c32">geany.pc.in</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2728/files#diff-f2b11a8485b0f3c5eb1c261a2f8bd490ac533c4fc7663a28b7e1b187e6f0c199">m4/geany-utils.m4</a>
    (12)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2728.patch'>https://github.com/geany/geany/pull/2728.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2728.diff'>https://github.com/geany/geany/pull/2728.diff</a></li>
</ul>

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