Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've already tried pkill -19 firefox, but it crashes. At the next start it asks if the last session should be opened again. Is it possible to terminate the browser without crash?

share|improve this question
up vote 1 down vote accepted

Any use of pkill is going to crash it; that's essentially its purpose. Use a program like wmctrl instead, to tell it to exit properly.

share|improve this answer
    
Thank you. It's as easy as wmctrl -c Firefox. – chris May 14 '12 at 20:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.