Last active
February 5, 2020 04:51
-
-
Save miketucker/4b07da2482c3311f1879 to your computer and use it in GitHub Desktop.
tweaks to prepare your OSX machine for an installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# disable screensaver | |
defaults -currentHost write com.apple.screensaver idleTime 0; | |
# restart automatically if crashes | |
systemsetup -setrestartfreeze on; | |
# disable sleep | |
systemsetup -setcomputersleep Off > /dev/null; | |
# disable bluetooth setup dialog boxes | |
defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekKeyboard -bool false; | |
defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekPointingDevice -bool false; | |
# disable apps that re-open on reboot | |
defaults write -g ApplePersistence -bool no; | |
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false; | |
# disable software update | |
sudo softwareupdate --schedule off; | |
# EXTRAS ### | |
# disable dashboard (saves a bit of memory) | |
defaults write com.apple.dashboard mcx-disabled -boolean YES; | |
# hide the desktop icons | |
defaults write com.apple.finder CreateDesktop -bool false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment