How to run a daemon process only when xfce4 session is running?

Chris Green cl at
Mon Jan 31 21:01:29 CET 2022

Alex <acs82 at> wrote:
> [-- text/plain, encoding quoted-printable, charset: UTF-8, 48 lines --]
> > But there's no logout 'hook' is there?  Where would I put this killall
> so that it runs when I log out of the xfce4 session?
> Maybe your version of xfce4-session is outdated ? I can hook stuff on
> login, logout, hibernate, shutdown, .. and so on ... atached a screenshot.
Ah, yes, I'm with you now.  I was hoping to have a 'run only while
session runs' option.  I'll need to add a second new item in the
Software & Sessions which can kill off my daemon process on logout.


Chris Green

More information about the Xfce mailing list