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

Reply via email to