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

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


netfab <netbox253 at netc.eu> 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.
> 
> https://www.x.org/releases/X11R7.7/doc/libSM/SMlib.html#Session_Management_Client_Smc_Functions 
> 
No, it's just a shell script.

-- 
Chris Green
·



More information about the Xfce mailing list