Created
November 14, 2022 15:29
-
-
Save claudiuschan/0b6dc83e9d5a73bc64cda692f70ae749 to your computer and use it in GitHub Desktop.
Macos-cleanup
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
## This is only run on my MBA with Monterey. Please use this at your own risk. | |
# Disable all animations. | |
sudo defaults write com.apple.finder DisableAllAnimations -bool true | |
sudo defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
sudo defaults write com.apple.dock launchanim -bool false | |
sudo defaults write com.apple.dock expose-animation-duration -float 0.1 | |
sudo defaults write NSGlobalDomain NSWindowResizeTime -float 0.001 | |
sudo defaults write com.apple.Dock autohide-delay -float 0 | |
sudo defaults write QLPanelAnimationDuration -float 0 | |
# Disable the creation of .DS_store files | |
sudo defaults write com.apple.desktopservices DSDontWriteNetworkStores TRUE | |
# Disable uncessary general services | |
sudo launchctl remove com.apple.AddressBook.abd | |
sudo launchctl remove com.apple.CallHistoryPluginHelper | |
sudo launchctl remove com.apple.DiagnosticReportCleanup | |
sudo launchctl remove com.apple.DiagnosticReportCleanup.plist | |
sudo launchctl remove com.apple.ReportCrash | |
sudo launchctl remove com.apple.ReportCrash.Self | |
sudo launchctl remove com.apple.ReportPanic | |
sudo launchctl remove com.apple.TrustEvaluationAgent | |
sudo launchctl remove com.apple.VoiceOver | |
sudo launchctl remove com.apple.amp.mediasharingd | |
sudo launchctl remove com.apple.analyticsd | |
sudo launchctl remove com.apple.ap.adprivacyd | |
sudo launchctl remove com.apple.appstoreagent | |
sudo launchctl remove com.apple.familycircled | |
sudo launchctl remove com.apple.ftp-proxy | |
sudo launchctl remove com.apple.geod | |
sudo launchctl remove com.apple.helpd | |
sudo launchctl remove com.apple.iTunesHelper.launcher | |
sudo launchctl remove com.apple.java.InstallOnDemand | |
sudo launchctl remove com.apple.locate | |
sudo launchctl remove com.apple.locationd | |
sudo launchctl remove com.apple.mediaanalysisd | |
sudo launchctl remove com.apple.mediaremoteagent | |
sudo launchctl remove com.apple.metadata.mds.spindump | |
sudo launchctl remove com.apple.mobiledeviceupdater | |
sudo launchctl remove com.apple.netbiosd | |
sudo launchctl remove com.apple.photoanalysisd | |
sudo launchctl remove com.apple.recentsd | |
sudo launchctl remove com.apple.screensharing.MessagesAgent | |
sudo launchctl remove com.apple.siriknowledged | |
sudo launchctl remove com.apple.softwareupdate_notify_agent | |
sudo launchctl remove com.apple.spindump | |
sudo launchctl remove com.apple.suggestd | |
sudo launchctl remove com.apple.voicememod | |
# Disable Safari related services | |
sudo launchctl remove com.apple.SafariCloudHistoryPushAgent | |
sudo launchctl remove com.apple.Safari.SafeBrowsing.Service | |
sudo launchctl remove com.apple.SafariNotificationAgent | |
sudo launchctl remove com.apple.SafariPlugInUpdateNotifier | |
sudo launchctl remove com.apple.SafariHistoryServiceAgent | |
sudo launchctl remove com.apple.SafariLaunchAgent | |
sudo launchctl remove com.apple.SafariPlugInUpdateNotifier | |
sudo launchctl remove com.apple.safaridavclient |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment