[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tell firefox to quit from a shell script



On Sat, 09 Apr 2011 15:06:13 -0400, Tyler Smith wrote:

> I want firefox to quit every time I hibernate my laptop. I've tried
> doing this using the following bash alias:
> 
>   alias shib='pkill firefox ; sudo hibernate'
> 
> However, firefox doesn't close cleanly, and I often have problems when I
> open it again, with ff complaining that it can't recover my tabs, or
> failing to launch the first time and then needing to be called a second
> time.
> 
> Is there a way I can politely ask firefox to quit, less traumatically
> than pkill?

Hum... I think it could be this "bugture" (feature bug):

RFE: A way to shutdown Mozilla from the command line (x-remote or signal).
https://bugzilla.mozilla.org/show_bug.cgi?id=134909

Greetings,

-- 
Camaleón


Reply to: