Skip to content

Instantly share code, notes, and snippets.

@j8
Last active June 3, 2026 15:49
Show Gist options
  • Select an option

  • Save j8/8ef9b6e39449cbe2069a to your computer and use it in GitHub Desktop.

Select an option

Save j8/8ef9b6e39449cbe2069a to your computer and use it in GitHub Desktop.
disable all macos animations for high performance
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
@momomo

momomo commented May 28, 2022

Copy link
Copy Markdown

expose-animation-duration does not work on bigsur and monterey it seems.

@DeZ4p

DeZ4p commented Jul 26, 2024

Copy link
Copy Markdown

Well, I tried this now and I didn't like it!
I wanted to return, what code should I enter instead of each of these codes?

@HyakoV3

HyakoV3 commented Jul 26, 2024

Copy link
Copy Markdown

Well, I tried this now and I didn't like it! I wanted to return, what code should I enter instead of each of these codes?

image

@DeZ4p

DeZ4p commented Jul 27, 2024

Copy link
Copy Markdown

Well, I tried this now and I didn't like it! I wanted to return, what code should I enter instead of each of these codes?

image

Did you laugh?

@HyakoV3

HyakoV3 commented Jul 27, 2024

Copy link
Copy Markdown

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.

@DeZ4p

DeZ4p commented Jul 28, 2024

Copy link
Copy Markdown

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 :(

@BrayanOfficiel

Copy link
Copy Markdown

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)

@momomo

momomo commented Jul 31, 2024

Copy link
Copy Markdown

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.

@momomo

momomo commented Jul 31, 2024

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment