Make the Dock show/hide faster!
2 min readOct 21, 2022
The Dock in Mac is, by default, put it in the bottom of th sreen, but you can put it in the left or right side. The best position depend only in taste of user, BUT sometimes the “move”, for show or hide, can be a little “slow” or “smoothy”.
This can be solved by a very simple command in terminal:
defaults write com.apple.dock autohide -bool true && defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0 && killall Dock
How this work?
- defaults write com.apple.dock we are going to (over)write the Dock parameters
- autohide -bool true the Dock will autohide automatically
- defaults write com.apple.dock autohide-delay -float 0 we say the “delay” to autohide is 0 (float talk about the type of value, number), in other words, the time must pass before the dock show or hide.
- defaults write com.apple.dock autohide-time-modifier -float 0 set the time parameter to 0, in other words, the time it will take to hide or show
- killall Dock: after we set the params, we “kill” (close) the Dock, and the OS will re-run it again, using the setted parameters :)
If you wat to rollback to default (with auto-hide / show)
defaults write com.apple.dock autohide -bool true && defaults delete com.apple.dock autohide-delay && defaults delete com.apple.dock autohide-time-modifier && killall Dock