You are not logged in.
I have two problem applications that get stuck after logging out of xfce, zim and flux gui (f.lux) . They get killed at logout and leave temp pipes behind that prevent them from starting up after the next log in. Zim works after the 2nd attempt, but f.lux leaves xflux running stuck at 100% cpu usage, which needs to be killed and a temp file deleted for it to start, again. This is on Debian 8.
Offline
xfce4-session currently doesn't have the capability to run scripts on logout. See:
- https://bugzilla.xfce.org/show_bug.cgi?id=12095
- https://bugzilla.xfce.org/show_bug.cgi?id=10172
Assuming that both of these programs have a means of "gracefully" exiting via a command, the following might help.
Create an executable /usr/local/bin/xfce4-session file with the following contents:
#!/bin/bash
# run the real xfce4-session executable
/usr/bin/xfce4-session
# after it exits, run the scripts in ~/.xfce_logout (if it exists)
test -r $HOME/.logout && . $HOME/.xfce_logout
Then, add whatever commands you need to run to gracefully exit from these programs in your ~/.xfce_logout file.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for the suggestion but there was no way around it. The applications could not end gracefully through command. I guess they have some gnome-centric schemes to do this.
Offline
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 520.01 KiB (Peak: 520.85 KiB) ]