[xubuntu-users] How to get process to start with GUI login and exit on GUI logout?
Chris Green
cl at isbd.net
Wed Feb 2 09:17:35 UTC 2022
On Tue, Feb 01, 2022 at 04:59:18PM -0600, Knute Johnson wrote:
>
>
> On 2/1/22 15:16, Knute Johnson wrote:
> >
>
> Well that was weird. Don't know how I managed that :-)
>
Yes, I did wonder why I was reading my own reply! :-)
> What I was supposed to say was that I'm sorry I haven't been able to come up
> with an answer. I thought this was going to be really easy. I've tried a
> bunch of different things but nothing worked. It seems when you spawn off a
> script that it's not tied in any way to its parent unless the parent is
> running.
>
> You could certainly write a GUI program that duplicated your script and that
> would stop when you logout.
>
> I have no idea what your script does or how complicated it is but you might
> try that.
>
It's pretty simple little script that uses inotifywait to pop up
various image viewers and such when I'm reading E-Mail via ssh (I use
mutt for E-Mail).
--
Chris Green
More information about the xubuntu-users
mailing list