Last active
December 13, 2024 07:09
-
-
Save ponimas/de3179e84410a76cbe314ecc2c534772 to your computer and use it in GitHub Desktop.
disable unnecessary mojave services
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 / Enable Dashboard | |
# Settings / Mission control / Dashboard (selector) - Off | |
# or | |
# completely disable: | |
defaults write com.apple.dashboard mcx-disabled -boolean YES; killall Dock | |
# enable again: | |
#defaults write com.apple.dashboard mcx-disabled -boolean NO; killall Dock | |
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001 | |
defaults write -g QLPanelAnimationDuration -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0 | |
defaults write com.apple.dock launchanim -bool false | |
sudo sysctl debug.lowpri_throttle_enabled=0 | |
sudo launchctl remove com.apple.AddressBook.abd | |
sudo launchctl remove com.apple.CallHistoryPluginHelper | |
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.Safari.SafeBrowsing.Service | |
sudo launchctl remove com.apple.SafariCloudHistoryPushAgent | |
sudo launchctl remove com.apple.SafariHistoryServiceAgent | |
sudo launchctl remove com.apple.SafariLaunchAgent | |
sudo launchctl remove com.apple.SafariNotificationAgent | |
sudo launchctl remove com.apple.SafariPlugInUpdateNotifier | |
sudo launchctl remove com.apple.SafariPlugInUpdateNotifier | |
sudo launchctl remove com.apple.TrustEvaluationAgent | |
sudo launchctl remove com.apple.ap.adprivacyd | |
sudo launchctl remove com.apple.ap.adprivacyd | |
sudo launchctl remove com.apple.appstoreagent | |
sudo launchctl remove com.apple.familycircled | |
sudo launchctl remove com.apple.gamed.plist | |
sudo launchctl remove com.apple.helpd | |
sudo launchctl remove com.apple.iTunesHelper.launcher | |
sudo launchctl remove com.apple.mobiledeviceupdater | |
sudo launchctl remove com.apple.safaridavclient | |
sudo launchctl remove com.apple.screensharing.MessagesAgent | |
sudo launchctl remove com.apple.siriknowledged | |
sudo launchctl remove com.apple.softwareupdate_notify_agent | |
# disable sending of crash reports to Apple (SubmitDiagInfo) | |
sudo launchctl remove com.apple.SubmitDiagInfo.plist | |
# disable photolibraryd | |
# com.apple.photomoments.xpc tries to access the internet without any reason and authorisation | |
# photos.app stops working after this | |
sudo launchctl remove com.apple.photolibraryd | |
sudo launchctl remove com.apple.cloudphotosd | |
# after restart they show up here | |
sudo launchctl remove com.apple.photolibraryd.plist | |
sudo launchctl remove com.apple.cloudphotosd.plist | |
# disable Apple Push Notification Service (apsd) | |
# FaceTime could complain | |
sudo launchctl remove com.apple.apsd.plist |
@cryo-kronos Hey! I'm really sorry, but I remember nothing about this script, it was 4 years ago, so all memories have vanished.
Typed the following message before I read your reply about having no memory of it. Disregard, I guess.
Found one you missed: studentd
Currently wasting 16.3 Mb of precious memory on my Mac.
This script is for Mojave, but does it also apply to newer OS's? Planning to finally update to Sonoma in the near future.
@GitTheHellOutaHere I haven't tried it on Sonoma.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing daily SafariPlugInUpdateNotifier crashes on my Mojave system. Started a couple months ago and nothing I've done has stopped it.
A couple of noobish questions:
Is there a reason why "sudo launchctl remove com.apple.SafariPlugInUpdateNotifier" is run twice in this script?
Do I need to run this script and/or commands after each restart or do they persist through restarts?