desktop entry proposal: TerminateSafe=true key
walters at verbum.org
Mon May 10 06:55:53 PDT 2010
On Mon, May 10, 2010 at 8:03 AM, Lubos Lunak <l.lunak at suse.cz> wrote:
> Desktop files contain information relevant for launching applications. What
> you describe is for when they are running and as such .desktop files is not a
> good place for it.
Do you have an alternative suggestion?
> How do you know what .desktop file is associated with a
> specific Unix process? Rhetorical question, because you don't, and never will
> for sure.
Well, we can do pretty well here. And we can also impose the
additional constraint that if a TerminateSafe=true application spawns
multiple processes, the subprocesses should be written to terminate
when their parent dies (for example, by sharing a pipe file
descriptor, watching a name on the session bus).
More information about the xdg