Permalink
Browse files

.osx: Disable the “reopen windows when logging back in” option

  • Loading branch information...
1 parent 4f4c342 commit 1de8cb8476bbf2cd71fa1e83126b057e38850705 @mathiasbynens committed Mar 15, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 .osx
View
5 .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

1 comment on commit 1de8cb8

onpaws commented on 1de8cb8 Mar 16, 2012

/me likes

Please sign in to comment.