From 1de8cb8476bbf2cd71fa1e83126b057e38850705 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 15 Mar 2012 09:17:40 +0100 Subject: =?UTF-8?q?.osx:=20Disable=20the=20=E2=80=9Creopen=20windows=20whe?= =?UTF-8?q?n=20logging=20back=20in=E2=80=9D=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .osx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.osx b/.osx index 962d1fc..7ef7f6f 100755 --- a/.osx +++ b/.osx @@ -157,6 +157,11 @@ defaults write com.apple.Mail DisableSendAnimations -bool true # Disable Resume system-wide defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false +# Disable the “reopen windows when logging back in” option +# This works, although the checkbox will still appear to be checked. +defaults write com.apple.loginwindow TALLogoutSavesState -bool false +defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false + # Enable Dashboard dev mode (allows keeping widgets on the desktop) defaults write com.apple.dashboard devmode -bool true -- cgit v1.2.3