User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Build Identifier: I'm not sure about the correct component, so I elected to place this in "General." Essentially, what I'm asking for is the ability to do the opposite of the Autostart functionality. For example, I need gpg-agent to start when xfce starts, but I want it to be killed when xfce closes. I know this can be done easily by editing $HOME/.xinitrc (and that works fine for now), but it would be nice to have this ability inside xfce. Reproducible: Always
Reassign to xfce-bugs@xfce.org.
Created attachment 5214 Source $HOME/.logout on session exit
For the record, $HOME/.logout isn't the right file to use here, as that's shell-specific; this would need to be xfce-specific. Maybe something in xfce4-session?
I have some session scripts and applications in autostart directory which I want to stop when I shutdown my Xfce session. For example Unity does it automatically, but it doesn't work with Xfce on my Arch Linux and Ubuntu 16.04. It would be nice if xfce4-session stopped all autostarted applications. GUI applications rely on X server connection, but scripts and console applications can't be stopped this way.
I'd like to suggest that we generalize this feature further so that processes on a "greylist" detected during a request for shutdown / reboot are killed prior to ending the session. A "redlist" could contain processes to look for that should never be automatically killed, but raise a user warning prior to ending the session. The perfect example would be the system package manager. e.g. consider the scenario where the user has automated system updates and their kernel is half way through being unpacked. See bug 13242.
This bug is resolved with https://git.xfce.org/xfce/xfce4-session/commit/?id=9e7e160d6db39d39283bef6fafb7264f4a65d9e5