I have the following issue : firefox is killed violently when using logout (or shutdown or restart...), and a subsequent run of firefox will bring up the "restore firefox tab" state. Is it possible to have xfce kill firefox gently ?
Last edited by epsylon (2012-07-21 15:59:23)
I assume that the "shutdown" "restart" and "logout" buttons invoke a script that preforms the needed actions. If you were to add the line "pkill firefox" somewhere at the beginning of the script, this will send SIGTERM to firefox, and it will shutdown gracefully.
You can try this yourself by opening a terminal and type "pkill firefox" -no quotes of course- and this will shutdown firefox gracefully.
Hope that helps. Someone else will have to help with the script.
It’s a known and long-standing bug of (I believe) xfce4-session that doesn’t ask running programs to exit if you don’t save your session. It’s annoying but I got into the habit of killing all running programs manually…
@_kurt_: pkill does kill firefox violently as well !
Anyway, I'll do the same as stqn and kill my apps before shutting down.
Thanks for your replies !