Reset OS X Dock Icons to Defaults

By  on  

There's something amazing about receiving a new MacBook Pro for me.  The new machine, unaffected by sins of installs past, gives me a fresh start to mess it up all over again.  Of course with a laptop from your employer you probably can't just wipe things clean -- you'd probably lose important software relevant to the organization, or it would take you forever to get it back in a state where you have all of the dependencies.

There are a few things you can do to make the Mac seem like new though.  One of those is reseting the Dock to its default icons via command line:

defaults delete com.apple.dock; killall Dock

Away goes the mess of icons you've added of the years -- you can simply wipe the Dock clean and start over again.  Of course the first thing I do is add Dock Separators, but to each their own...

Recent Features

  • By
    Responsive and Infinitely Scalable JS Animations

    Back in late 2012 it was not easy to find open source projects using requestAnimationFrame() - this is the hook that allows Javascript code to synchronize with a web browser's native paint loop. Animations using this method can run at 60 fps and deliver fantastic...

  • By
    LightFace:  Facebook Lightbox for MooTools

    One of the web components I've always loved has been Facebook's modal dialog.  This "lightbox" isn't like others:  no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much."  With Facebook's dialog in mind, I've created LightFace:  a Facebook lightbox...

Incredible Demos

  • By
    Introducing MooTools ScrollSpy

    I've been excited to release this plugin for a long time. MooTools ScrollSpy is a unique but simple MooTools plugin that listens to page scrolling and fires events based on where the user has scrolled to in the page. Now you can fire specific...

  • By
    Telephone Link Protocol

    We've always been able to create links with protocols other than the usual HTTP, like mailto, skype, irc ,and more;  they're an excellent convenience to visitors.  With mobile phone browsers having become infinitely more usable, we can now extend that convenience to phone numbers: The tel...

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!