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

Re: Tell firefox to quit from a shell script



Mike Viau <viaum@sheridanc.on.ca> writes:

>> On Sat, 9 Apr 2011 16:06:13 -0400 <tyler.smith@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 (to exit gracefully) if Firefox/Iceweasel is running on
> Gnome or KDE as well?
>
>

I don't know, I don't have either of those DE installed. wmctrl appears
to handle a lot of window-manager things that aren't baked into Fluxbox,
but it might not be necessary/compatible with Gnome or KDE.

Tyler


Reply to: