Re: Tell firefox to quit from a shell script

2011-04-10 Thread Tyler Smith
"Todd A. Jacobs" writes: > On Sat, Apr 9, 2011 at 12:06 PM, Tyler Smith 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 think that's the problem - pkill firefox

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 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.

Re: Tell firefox to quit from a shell script

2011-04-09 Thread Tyler Smith
Mike Viau writes: >> On Sat, 9 Apr 2011 16:06:13 -0400 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 (to exit grac

RE: Tell firefox to quit from a shell script

2011-04-09 Thread Mike Viau
> On Sat, 9 Apr 2011 16:06:13 -0400 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 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 Tyler Smith
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, Tyler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian