Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   Help with terminal and dock (http://www.mac-forums.com/forums/os-x-development-darwin/220691-help-terminal-dock.html)

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 com.apple.dock.plist 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 02:16 AM.

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