relative paths in Exec= in .desktop and .service files

Ryan Lortie desrt at desrt.ca
Mon Sep 8 21:34:17 PDT 2014


hi,

On Mon, Sep 8, 2014, at 12:19, Thiago Macieira wrote:
> The first two options might be valid for D-Bus and dbus-daemon, but they
> can't 
> be for the desktop file specification since there are multiple processes 
> processing them, which means a wide variety of CWD and of installation 
> prefixes. Desktop files should be predictable, so I'd suggest we go for
> the 
> third option: relative to the file itself.

I agree.

If we are to support this (which is still an open question, imho) then
this is really the only way.

(nitpick) I assume you mean "relative to the directory in which the file
was found".

Cheers


More information about the xdg mailing list