Removing an item from the dock


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Removing an item from the dock
# 1  
Old 12-31-2006
Removing an item from the dock

Hello!

I am able to add an item to the dock with this command:

defaults write com.apple.dock persistent-apps -array-add '<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>/Applications/Preview.app</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>';killall -HUP Dock

Now I would like to be able to remove the same item from the dock, but I can't seem to figure out what needs to change in the command.

Once again, thanks for your help!
# 2  
Old 12-31-2006
Removing an item from the dock

Hello!

I am able to add an item to the dock with this command:

defaults write com.apple.dock persistent-apps -array-add '<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>/Applications/Preview.app</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>';killall -HUP Dock

Now I would like to be able to remove the same item from the dock, but I can't seem to figure out what needs to change in the command.

Once again, thanks for your help!
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to use UCSF DOCK on cygwin ?

I have installed DOCK 6.6 on Cygwin ( I'm not sure if it is installed completely, I did as the DOCK 6.6 manual said ) and I am trying to do one of its wiki tutorials. in one of the steps, when I want to use "sphgen" for generating spheres, it says: bash: sphgen: command not found I think sphgen... (2 Replies)
Discussion started by: fmn
2 Replies

2. Red Hat

Installing cairo-dock or any other desktop customization software

Dear all, I want to install cairo-dock or any other substitute desktop customization software in my RedHat Linux 5.3 machine. I think cairo-dock is for fedora linux,i need RedHat compatible. Can any one provide me with the appropriate link and installation steps for the same. ... (0 Replies)
Discussion started by: monojcool
0 Replies

3. UNIX for Dummies Questions & Answers

Trying to install UCSF DOCK on Cygwin

I'm trying to install DOCK 6.3 on my computer. I'm using the latest version of both DOCK for the install and Cygwin. Following the directions outlined here DOCK 6.3 User Manual I type in the prompt ./configure Makefile and it creates a header file titled config.h I then type in make... (6 Replies)
Discussion started by: newuser1
6 Replies
Login or Register to Ask a Question