New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Help with terminal and dock


Post Reply New Thread Subscribe

 
Thread Tools
jhimes830

 
Member Since: Nov 17, 2010
Posts: 7
jhimes830 is on a distinguished road

jhimes830 is offline
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.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,649
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
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).

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks

Post Reply New Thread Subscribe


« Adding Terminal Option to Right Click On Desktop | How to bg ftp? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Dock gone / Can't log out / No Dashboard samkupo OS X - Operating System 13 04-16-2012 07:11 PM
dock causing all kinds of problems, help! sournotessx OS X - Operating System 3 11-05-2010 05:45 PM
typed in KillAll Dock just as is and now my dock will not show up ARC OS X - Operating System 3 07-24-2009 06:47 AM
Can anyone help me with a problem with my Dock OK Computer OS X - Operating System 3 05-08-2009 03:37 AM
Terminal Commands for Hidden Settings in Leopard goobimama OS X - Operating System 2 12-03-2007 10:38 AM

All times are GMT -4. The time now is 03:21 AM.

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

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?