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

Colomban Wendling notifications at xxxxx
Sat Jan 16 22:18:48 UTC 2021


> 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.

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).

> 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.

Well, the *only* case where it really is that simple is the OP's one, i.e. `--prefix=$HOME/.local`.  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.

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.

-- 
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-761688701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210116/cf349ca2/attachment.htm>


More information about the Github-comments mailing list