How to get process to start with GUI login and exit on GUI logout?

Chris Green cl at
Mon Jan 31 14:51:07 CET 2022

netfab <netbox253 at> wrote:
> Le 31/01/22 à 13:30, Chris Green a tapoté :
> > So, is there an easy/correct way to do this or do I need to add code
> > to my background process to manage things?
> > 
> If your process is written in C, you want to use the session management
> library.
No, it's just a shell script.

Chris Green

More information about the Xfce mailing list