Remove the dashboard widget screen from OSX

I don’t know about you but I don’t like the dashboard screen on OSX.

I find having to switch to the dashboard to use a widget more effort than it’s worth. I’d rather a stand alone application that I can launch on demand or if it needs to be persistent an application could add a menu bar icon that I can click on from any desktop.

After accidentally switching to the dashboard one two many times I decided to remove it. I’m not particularly worried about any performance gains I may get from removing the dashboard, I did it purely so i would no longer see it.

First you need to open up a Terminal window (command+space and type terminal and press enter) and enter:

defaults write mcx-disabled -boolean YES

press enter then you need to restart the Dock process to see your changes by typing:

killall Dock

Now you no longer have to be bothered by the dashboard screen.

Of course there’s a possibility at some stage in the future you might want the dashboard back. To get it back you need to repeat the steps above but change boolean YES to boolean NO. Simple!


Opening a folder or application from the terminal in OSX

I’ve become pretty dependent on the gnome-open command in Gnome. After I began using OSX more frequently I was in need of an equivalent, it’s:

% open .

Yep, it’s really that simple. While we’re on the topic you can also launch applications with the open command.

% open -a /Applications/

You can also pass arguments to the application to be opened:

% open -a /Applications/

This is pretty sweet and can be extended extracted to a bash script that lives somewhere on your path for example /usr/bin.


open -a /Applications/$ $2

Add execute permissions to the file ( chmod +x /usr/bin/run) and it can be called with:

% run VLC agoodsong.ogg