1

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?

1 Answer 1

1

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
1
  • 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.
    – mbb
    Commented Aug 20, 2012 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .