Pages

Friday, February 26, 2010

Handy Mac OSX Command Line Tricks | Snipe.Net

Drag Widgets Out Of Dashboard Onto Desktop
I love the widgets in the Dashboard, but being a former Windows user, I always forget they’re there. It never even occurs to me to click on my dashboard. To keep important widgets handy, drag widgets from your dashboard onto your desktop. You need to re-launch the dock for this to take effect by typing “killall Dock” and hitting enter. If you click and hold onto a widget in the dashboard and then press F12 to return to the desktop, the widget won’t disappear with the rest.

defaults write com.apple.dashboard devmode YES

type this to reverse it:

defaults write com.apple.dashboard devmode NO

Remember to type killall dock to restart your dock before the changes will take effect.

Add Spaces to Your Dock

If you’re like me and constantly mis-click and launch the wrong application (xchat instead of terminal, since they have similar icons and because I am dumb), adding spacers into your dock to visually separate the icons can be a big help. By adding spaces, you can group related icons together for ease of use, but have just enough of a visual difference to prevent you from spastically clicking on the wrong ones (like I do). For example,my dock looks something like this:

dock

In your Terminal prompt, type:

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'

When your dock restarts, you’ll see a spacer in the right-side. You can click and drag this spacer to wherever you need, and you can re-run that command in your Terminal window to create as many spacers as you want. And just like any other dock icon, you can right+click and remove, or just drag it off the dock to get rid of it.

Remember to type killall Dock to restart your dock before the changes will take effect.

more dock and dashboard wizardry ... I might as well quote the entire site ... ^_^

Posted via web from mabelrxu's posterous

No comments: