Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RumorzGuy

macrumors 6502
Original poster
Sep 17, 2008
264
82
Guam, Mariana Islands, U.S.A.
This is nothing new, but maybe some of you haven't seen it before.

1. Launch the Terminal app from the /Applications/Utilities folder.

2. Type the following in the Terminal:

defaults write com.apple.dock mineffect suck; killall Dock

3. Hit your "return" key.

4. If it asks you for your password -- probably not -- type it.

5. Enjoy! From now on, your apps and windows will use the "suck" animation when minimizing to the Dock.

To return to your previous Dock animation, type the following in the Terminal and hit your "return" key:

defaults delete com.apple.dock mineffect && killall -INT Dock

If you want to actually restore the OS's default Dock -- that is, without any folders, apps or other items you may have added to it -- type the following command in the Terminal, and then hit your "return" key:

defaults delete com.apple.dock; killall Dock

Yeah, pretty useless . . . but did you learn something? :)
 
Last edited:
  • Like
Reactions: Tarek

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
defaults delete com.apple.dock; killall Dock

Don’t do this... you’ll remove all Dock preferences. Also, you don’t need to send a SIGTERM request to the Dock, an interrupt request is enough.
Code:
defaults delete com.apple.dock mineffect && killall -INT Dock
 

RumorzGuy

macrumors 6502
Original poster
Sep 17, 2008
264
82
Guam, Mariana Islands, U.S.A.
Don’t do this... you’ll remove all Dock preferences. Also, you don’t need to send a SIGTERM request to the Dock, an interrupt request is enough.
Code:
defaults delete com.apple.dock mineffect && killall -INT Dock

Thanks for the better command. I also didn't like the fact that the restore command removed all of my apps, folders and other items from the Dock. I found that command on the web, just as you saw it. I have since updated my OP here to reflect the code change.

BTW, do you know of any Terminal command which will allow me to just change the Dock's background color on a permanent basis? I do have SIP enabled.

I was using cDock for quite some time to stylize my Dock, but I have since removed it -- along with a few other haxies -- and my system is running so much faster now.

Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.