Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-07-21 15:55:53

epsylon
Member
Registered: 2012-07-21
Posts: 2

Firefox killed violently ?

Hello

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 ?

Thanks

Last edited by epsylon (2012-07-21 15:59:23)

Offline

#2 2012-07-23 01:17:40

_kurt_
Member
Registered: 2012-07-17
Posts: 6

Re: Firefox killed violently ?

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.

Kurt

Offline

#3 2012-07-24 21:51:00

stqn
Member
Registered: 2010-10-11
Posts: 174

Re: Firefox killed violently ?

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…

Offline

#4 2012-07-30 09:38:00

epsylon
Member
Registered: 2012-07-21
Posts: 2

Re: Firefox killed violently ?

Hello,
@_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 !

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 521.27 KiB (Peak: 529.06 KiB) ]