[opensuse] Killing Firefox
How do I "gracefully" restart Firefox from a script? If I kill it and restart, it comes up with a dialog about new or restore session. E-Mail disclaimer: http://www.sunspace.co.za/emaildisclaimer.htm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 25 January 2007 05:58, Hans van der Merwe wrote:
How do I "gracefully" restart Firefox from a script? If I kill it and restart, it comes up with a dialog about new or restore session.
I think you need to look at the root cause - why do you need to kill it? Is there a conflict? What versions (OS, FF, Plugins) are you using and which pr0n - um, I mean news - sites are you visiting when Firefox gets into this state? -- kai www.perfectreign.com || www.4thedadz.com www.filesite.org || www.donutmonster.com closing the doors that surround me so no one will ever penetrate complete my retreat just to wait for the day that never comes so i will laugh alone -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-01-25 at 09:08 -0800, Kai Ponte wrote:
On Thursday 25 January 2007 05:58, Hans van der Merwe wrote:
How do I "gracefully" restart Firefox from a script? If I kill it and restart, it comes up with a dialog about new or restore session.
I think you need to look at the root cause - why do you need to kill it? Is there a conflict?
What versions (OS, FF, Plugins) are you using and which pr0n - um, I mean news - sites are you visiting when Firefox gets into this state?
Well, I want to use Firefox on a information box (kiosk), to display a number of html pages in round-robin style. Every now and then I would like to change the pages or loader.html (page with javascript that loads the pages) to new versions, remotely. Only "clean" way I can think of is to close Firefox, rsync the pages up, start Firefox. Unless someones got something more elegant? E-Mail disclaimer: http://www.sunspace.co.za/emaildisclaimer.htm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans van der Merwe wrote:
On Thu, 2007-01-25 at 09:08 -0800, Kai Ponte wrote:
On Thursday 25 January 2007 05:58, Hans van der Merwe wrote:
How do I "gracefully" restart Firefox from a script? If I kill it and restart, it comes up with a dialog about new or restore session.
I think you need to look at the root cause - why do you need to kill it? Is there a conflict?
What versions (OS, FF, Plugins) are you using and which pr0n - um, I mean news - sites are you visiting when Firefox gets into this state?
Well, I want to use Firefox on a information box (kiosk), to display a number of html pages in round-robin style. Every now and then I would like to change the pages or loader.html (page with javascript that loads the pages) to new versions, remotely. Only "clean" way I can think of is to close Firefox, rsync the pages up, start Firefox. Unless someones got something more elegant?
E-Mail disclaimer: http://www.sunspace.co.za/emaildisclaimer.htm
I hve the same problem with Fire fox. It seems if I use the x to close it, the dialog comes up. If I use file->quit it does not come up. -- Joseph Loo jloo@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-01-25 07:58, Hans van der Merwe wrote:
How do I "gracefully" restart Firefox from a script? If I kill it and restart, it comes up with a dialog about new or restore session. How are you killing it? And are you checking to see if the process is really gone before trying to restart?
This sounds as if there is still an instance of Firefox running when it restarts, or else there is still a lock file in the .mozilla/user/profile directory. -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Darryl Gregorash wrote:
On 2007-01-25 07:58, Hans van der Merwe wrote:
How do I "gracefully" restart Firefox from a script? If I kill it and restart, it comes up with a dialog about new or restore session. How are you killing it? And are you checking to see if the process is really gone before trying to restart?
This sounds as if there is still an instance of Firefox running when it restarts, or else there is still a lock file in the .mozilla/user/profile directory.
No, the reason for the session restore comes up is that Firefox always thinks it crashed if it's terminated via a TERM signal. The complete shutdown process is not used if killed via SIGTERM. Please see https://bugzilla.mozilla.org/show_bug.cgi?id=336193 Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
FireFox has a "restart" extension, which appears in the File menu, but it must be installed first. Drop me an email, so I can send you that extension, alternatively, search the internet for it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Alexey Eremenko
-
Darryl Gregorash
-
Hans van der Merwe
-
Joseph Loo
-
Kai Ponte
-
Wolfgang Rosenauer