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

elextr notifications at xxxxx
Sat Jan 16 22:02:51 UTC 2021


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 `.desktop`s will only have the command.

Bright packagers like @hyperair will set the `.desktop` to suit their distros rules anyway.

So @b4n what Debian does for software in its repo is not good guidance for what we should generate in a default `.desktop` that may be installed outside system directories.

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 `.desktop` otherwise.

So the `.desktop` we generate on a build should have the full path.


-- 
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#issuecomment-761686486
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210116/327ccfc5/attachment-0001.htm>


More information about the Github-comments mailing list