Last active
March 22, 2025 13:25
-
-
Save j8/8ef9b6e39449cbe2069a to your computer and use it in GitHub Desktop.
disable all macos animations for high performance
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
defaults write -g NSScrollViewRubberbanding -int 0 | |
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
defaults write -g NSScrollAnimationEnabled -bool false | |
defaults write -g NSWindowResizeTime -float 0.001 | |
defaults write -g QLPanelAnimationDuration -float 0 | |
defaults write -g NSScrollViewRubberbanding -bool false | |
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false | |
defaults write -g NSToolbarFullScreenAnimationDuration -float 0 | |
defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0 | |
defaults write com.apple.dock autohide-delay -float 0 | |
defaults write com.apple.dock expose-animation-duration -float 0 | |
defaults write com.apple.dock springboard-show-duration -float 0 | |
defaults write com.apple.dock springboard-hide-duration -float 0 | |
defaults write com.apple.dock springboard-page-duration -float 0 | |
defaults write com.apple.finder DisableAllAnimations -bool true | |
defaults write com.apple.Mail DisableSendAnimations -bool true | |
defaults write com.apple.Mail DisableReplyAnimations -bool true | |
defaults write NSGlobalDomain NSWindowResizeTime .001 | |
defaults write com.apple.dock expose-animation-duration -int 0; killall Dock | |
defaults write com.apple.dock expose-animation-duration -float 0.1; killall Dock | |
First thing on IT, always make backups. Second before you try any code make a system backup, so you can reatore If dont know the final outcome.
I completely agree with you, exactly the same should be done in the IT and computer department, but unfortunately, I don't like taking backups :(
Try changing the 0 back to 1 or in between for faster animations (or more for slower)
Try doing:
defaults delete ...
For instance:
defaults delete -g InitialKeyRepeat
defaults delete -g KeyRepeat
defaults delete -g KeyRepeatDelay
defaults delete -g KeyRepeatEnabled
defaults delete -g KeyRepeatInterval
defaults delete InitialKeyRepeat
defaults delete KeyRepeat
defaults delete KeyRepeatDelay
defaults delete KeyRepeatEnabled
defaults delete KeyRepeatInterval
defaults delete 'com.apple.Accessibility' InitialKeyRepeat
defaults delete 'com.apple.Accessibility' KeyRepeat
defaults delete 'com.apple.Accessibility' KeyRepeatDelay
defaults delete 'com.apple.Accessibility' KeyRepeatEnabled
defaults delete 'com.apple.Accessibility' KeyRepeatInterval
Should resort to defaults, but I am not sure.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I completely agree with you, exactly the same should be done in the IT and computer department, but unfortunately, I don't like taking backups :(