If you find your Leopard dock a little messy, Here’s a tip that’ll allow you to add spacers to the dock to seperate your apps/documents into groups on the dock.If you’d like a space on the left or application side of the dock, Open terminal (~/applications/utlities/terminal.app) and enter the following command:
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
If you’d like to add one to the right or document side of the dock enter this command:
defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
To see your changes you’ll also need to restart the dock by entering the command:
Killall Dock
Afteryou’ve done this once, you can drag the spacers where ever you’d like and even create more by simple entering the same commands into terminal over again.To remove the space, simply click and drag the space out of the dock like you would any other application or document and ” poof ” it’s gone.
Apparently
wordpress was playing a few games on me in this post .. It should be fixed now, Sorry for the confusion folks.
You must be logged in to post a comment.
| « Using Tabs in OS X Terminal | Spotlight as a Calculator » |
December 14th, 2007 at 11:56 am
What do you do if you get this error?
defaults[89047:10b] Could not parse: ‘{tile-data={}. Try single-quoting it.
-bash: tile-type=”spacer-tile”: command not found
-bash: }’: command not found
Do you need XTools installed?
December 14th, 2007 at 4:10 pm
Actually it appears that the error I was getting from your tip was caused by copying and pasting your text. You have smart quotations in there. When I pasted the EXACT SAME text from macosxhints.com it worked. When I compared the two yours were “curly” quotes and theirs were the “straight” kind.