[Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728)

Andy Alt notifications at xxxxx
Fri Jan 15 22:55:35 UTC 2021


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 `./configure`.  For example, if I use `--prefix=$HOME/.local`, 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 `Exec` line in the desktop file is simply 'geany'.

I included some other trivial changes in this PR to make more practical use of the new 'geany.desktop.in.in' file.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2728

-- Commit Summary --

  * writes absolute path to geany bin in desktop file

-- File Changes --

    M Makefile.am (2)
    M configure.ac (4)
    R geany.desktop.in.in (6)
    M geany.pc.in (4)
    M m4/geany-utils.m4 (12)

-- Patch Links --

https://github.com/geany/geany/pull/2728.patch
https://github.com/geany/geany/pull/2728.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2728
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210115/47e07946/attachment.htm>


More information about the Github-comments mailing list