home

About

DashboardSwitch is by far the smallest application I have ever written, only four lines of code. It is entirely written in AppleScript and wrapped into an application bundle for ease of use.

Its only functionality is to enable or disable Apple's Dashboard with one click. I needed such an application for two reasons, first because I have an old iBook G3 which runs much slower with the Dasboard application running in the background and second because I needed a simple and fast way to restart the Dashboard daemon during the test phase of some widgets I have developed. In both cases I don't want the Dashboard application permanently disabled and I dont't want to use the terminal to enable or disable it (many times I can't remember the commands either).

Anyway - you can download DashboardSwitch, install it into your Applications folder and let it do the task or you can use these commands if want to use the terminal.

Enable Dashboard: (copy to clipboard)
defaults write com.apple.dashboard mcx-disabled -boolean NO;killall Dock
Disable Dashboard: (copy to clipboard)
defaults write com.apple.dashboard mcx-disabled -boolean YES;killall Dock