Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've been running into an odd behavior on 10.7 where editing Terminal preferences to launch a new window setting via "On startup, open" doesn't result in the changed terminal after a quit/launch.

Any idea what I may be doing wrong and/or how to trigger the new style?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

It sounds like Lion's resume feature is confusing the cause-effect relationship between settings and application behavior.

The "On Startup, open" should work, assuming that you had no windows open when you closed Terminal.app. Lion's resume feature is enabled for Terminal.app by default, so quitting the application before closing any windows will yield the same windows the Terminal is re-launched.

The simplest fix is this:

  1. Make sure you've closed all Terminal windows.
  2. Restart Terminal.app.

In the normal course of events, the resulting window should have the "On Start, open..." settings. If the steps above do not fix the issue, then I recommend deleting your Terminal preferences with a backup so that you can revert if needed.


Disable Resume for Terminal.app

You can also just disable resume for Terminal.app. Run the following command and re-launch Terminal.app twice:

defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false
share|improve this answer
1  
Yup, it was that simple of an issue. I would always leave a terminal or two open before restart. Thanks for the thorough details & cli fix. –  mjb Aug 20 '12 at 14:52
add comment

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.