"The code to disable dashboard is this:
defaults write com.apple.dashboard mcx-disabled -boolean YES
and to re-enable it, you just change YES to NO
defaults write com.apple.dashboard mcx-disabled -boolean NO
And yes, it is publicily known how to disable both of these. I just wanted to make a front-end for those who would prefer not to edit system files/use the terminal (Yes, I know it needs to use the Terminal to authenticate, but other than that). "