John Darrington <j...@darrington.wattle.id.au> skribis: > On Mon, Sep 12, 2016 at 09:45:22PM -0400, Thompson, David wrote: > On Mon, Sep 12, 2016 at 9:23 PM, Alex ter Weele > <alex.ter.we...@gmail.com> wrote: > > I don't believe there is a standard, but different packages do it > > different ways. Under my patch, guile-wm will regenerate its .desktop > as > > part of the build process, so its Exec= should be kept up-to-date. > > We should always refer to the absolute path to binaries so that we > don't rely on $PATH, which would be nondeterministic. > > > In that case, below is a (non-exhaustive) list of .desktop files from > various packages which do it "wrong". Is there not some way we can > automatically flag such cases at build time?
Maybe we could have a ‘patch-desktop-files’ phase that automatically expands relative file names in .desktop files? Ludo’.