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
    CSS Filters

    CSS filter support recently landed within WebKit nightlies. CSS filters provide a method for modifying the rendering of a basic DOM element, image, or video. CSS filters allow for blurring, warping, and modifying the color intensity of elements. Let's have...

  • By
    5 More HTML5 APIs You Didn’t Know Existed

    The HTML5 revolution has provided us some awesome JavaScript and HTML APIs.  Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers.  Regardless of API strength or purpose, anything to help us better do our job is a...

Incredible Demos

  • By
    MooTools Typewriter Effect Plugin

    Last week, I read an article in which the author created a typewriter effect using the jQuery JavaScript framework. I was impressed with the idea and execution of the code so I decided to port the effect to MooTools. After about an hour of coding...

  • By
    Create Your Own Dijit CSS Theme with LESS CSS

    The Dojo Toolkit seems to just get better and better.  One of the new additions in Dojo 1.6 was the use of LESS CSS to create Dijit themes.  The move to using LESS is a brilliant one because it makes creating your own Dijit theme...

Discussion

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