Re: Tell firefox to quit from a shell script

2011-04-10 Thread Tyler Smith
Todd A. Jacobs codegnome.consulting+deb...@gmail.com writes: On Sat, Apr 9, 2011 at 12:06 PM, Tyler Smith tyler.sm...@eku.edu wrote:  alias shib='pkill firefox ; sudo hibernate' The executable you need to kill is firefox-bin and not just firefox. Give that a try instead. I don't

Tell firefox to quit from a shell script

2011-04-09 Thread Tyler Smith
Hi, 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

Re: Tell firefox to quit from a shell script

2011-04-09 Thread Tyler Smith
Tyler Smith tyler.sm...@eku.edu writes: Is there a way I can politely ask firefox to quit, less traumatically than pkill? Hi again, I think I answered my own question: wmctrl -c firefox appears to do what I need. Sorry for the noise, Tyler -- To UNSUBSCRIBE, email to

Re: Tell firefox to quit from a shell script

2011-04-09 Thread Camaleón
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

RE: Tell firefox to quit from a shell script

2011-04-09 Thread Mike Viau
On Sat, 9 Apr 2011 16:06:13 -0400 tyler.sm...@eku.edu wrote: Tyler Smith writes: Is there a way I can politely ask firefox to quit, less traumatically than pkill? Hi again, I think I answered my own question: wmctrl -c firefox appears to do what I need. Sorry for the noise,

Re: Tell firefox to quit from a shell script

2011-04-09 Thread Tyler Smith
Mike Viau vi...@sheridanc.on.ca writes: On Sat, 9 Apr 2011 16:06:13 -0400 tyler.sm...@eku.edu wrote: Is there a way I can politely ask firefox to quit, less traumatically than pkill? I think I answered my own question: wmctrl -c firefox appears to do what I need. Does that work

Re: Tell firefox to quit from a shell script

2011-04-09 Thread Todd A. Jacobs
On Sat, Apr 9, 2011 at 12:06 PM, Tyler Smith tyler.sm...@eku.edu wrote: alias shib='pkill firefox ; sudo hibernate' The executable you need to kill is firefox-bin and not just firefox. Give that a try instead.