Sponsored Content
Top Forums Shell Programming and Scripting Removing an item from the dock Post 302101313 by emperorfabulous on Sunday 31st of December 2006 01:38:08 PM
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!
 

3 More Discussions You Might Find Interesting

1. 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

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

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
KDOCKER(1)						      General Commands Manual							KDOCKER(1)

NAME
kdocker - puts everything to traybar SYNOPSIS
kdocker [options] DESCRIPTION
This manual page documents briefly the kdocker command. kdocker is a program that puts every application to the system tray. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -a Show author information. Yup, about me. -b Suppress the warning dialog when docking non-normal windows (blind mode) -d Disable session management. KDocker will not attempt to redock this application when you relogin. -e Enable session management. KDocker will attempt to redock this application when you relogin. .B[default] -f Dock window that has the focus(active window). -i icon Custom dock icon. -h Show summary of options. -l Launch on startup -m Keep application window mapped (don't hide on dock) -o Dock when obscured -p secs By default, when the title of the application changes, it is ballooned from the system tray for 4 seconds. Works excellently with xmms -q Disable ballooning title changes (quiet) -t Remove this application from the task bar -v, --version Show version of program. -w wid Window id of the application to dock AUTHOR
kdocker was written by Girish Ramakrishnan (gramakri@uiuc.edu). This manual page was written by Lorenzo Villani <arbiter@arbiterlab.net>, for the Ubuntu project (but may be used by others). KDOCKER(1)
All times are GMT -4. The time now is 07:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy