Mac Forums

Mac Forums (
-   OS X - Development and Darwin (
-   -   Help with terminal and dock (

jhimes830 11-18-2010 12:42 PM

Help with terminal and dock
What would be the command to remove an item from the dock in terminal? I use a command to add an item but I can't find anywhere that shows you how to remove one. Any help would be appreciated. also i'm using 10.4 and 10.5 machines.

vansmith 11-18-2010 12:57 PM

Can't help you specifically right now but each item in the dock is listed as a "persistent app" in in ~/Library/Preferences (Root > persistent-apps). I'm sure you could develop a defaults command to rid of a dock icon. Let me see if I can come up with one. Note though that this method would require you know the position of the dock icon (although you could search through the plist for it).

All times are GMT -4. The time now is 09:01 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.