On Saturday 29 Oct 2016, at 14:29:54, Patrick Wigmore wrote:
> It may be that the only way to terminate Firefox cleanly from
> outside of Firefox is to simulate a Ctrl+Q keystroke

I tried
> xdotool search --name "Mozilla Firefox" key ctrl+q
which worked. (You probably need to set DISPLAY appropriately if 
running it from cron job.) 

But I think it's X-specific, so not much good if everything is 
going to end up using Mir or Wayland in the future.

-- 
Next meeting:  Bournemouth, Tuesday, 2016-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to