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
    Camera and Video Control with HTML5

    Client-side APIs on mobile and desktop devices are quickly providing the same APIs.  Of course our mobile devices got access to some of these APIs first, but those APIs are slowly making their way to the desktop.  One of those APIs is the getUserMedia API...

  • By
    Creating Scrolling Parallax Effects with CSS

    Introduction For quite a long time now websites with the so called "parallax" effect have been really popular. In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a...

Incredible Demos

  • By
    Ana Tudor’s Favorite CodePen Demos

    Cocoon I love canvas, I love interactive demos and I don't think I have ever been more impressed by somebody's work than when I discovered what Tiffany Rayside has created on CodePen. So I had to start off with one of her interactive canvas pens, even though...

  • By
    Detect Vendor Prefix with JavaScript

    Regardless of our position on vendor prefixes, we have to live with them and occasionally use them to make things work.  These prefixes can be used in two formats:  the CSS format (-moz-, as in -moz-element) and the JS format (navigator.mozApps).  The awesome X-Tag project has...

Discussion

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