Created
March 12, 2022 13:37
-
-
Save wochap/fd2d5d69ad4b740ae8c8e24ffbf140e4 to your computer and use it in GitHub Desktop.
osx-optimizer
This file contains hidden or 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
# massively increase virtualized macOS by disabling spotlight. | |
sudo mdutil -i off -a | |
# since you can't use spotlight to find apps, you can renable with | |
# sudo mdutil -i on -a | |
sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture "" | |
defaults write com.apple.Accessibility DifferentiateWithoutColor -int 1 | |
defaults write com.apple.Accessibility ReduceMotionEnabled -int 1 | |
defaults write com.apple.universalaccess reduceMotion -int 1 | |
defaults write com.apple.universalaccess reduceTransparency -int 1 | |
defaults write com.apple.Accessibility ReduceMotionEnabled -int 1 | |
sudo /usr/bin/defaults write .GlobalPreferences MultipleSessionsEnabled -bool TRUE | |
defaults write "Apple Global Domain" MultipleSessionsEnabled -bool true | |
# as roots | |
sudo su | |
defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool false | |
defaults write com.apple.SoftwareUpdate AutomaticCheckEnabled -bool false | |
defaults write com.apple.commerce AutoUpdate -bool false | |
defaults write com.apple.commerce AutoUpdateRestartRequired -bool false | |
defaults write com.apple.SoftwareUpdate ConfigDataInstall -int 0 | |
defaults write com.apple.SoftwareUpdate CriticalUpdateInstall -int 0 | |
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 0 | |
defaults write com.apple.SoftwareUpdate AutomaticDownload -int 0 | |
defaults write com.apple.universalaccessAuthWarning /System/Applications/Utilities/Terminal.app -bool true | |
defaults write com.apple.universalaccessAuthWarning /usr/libexec -bool true | |
defaults write com.apple.universalaccessAuthWarning /usr/libexec/sshd-keygen-wrapper -bool true | |
defaults write com.apple.universalaccessAuthWarning com.apple.Messages -bool true | |
defaults write com.apple.universalaccessAuthWarning com.apple.Terminal -bool true | |
defaults write com.apple.loginwindow DisableScreenLock -bool true | |
defaults write /Library/Preferences/com.apple.loginwindow.plist SHOWFULLNAME -bool true | |
defaults write com.apple.loginwindow AllowList -string '*' | |
defaults write com.apple.loginwindow TALLogoutSavesState -bool false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment