Sponsored Content
Top Forums Shell Programming and Scripting Removing an item from the dock Post 302101314 by emperorfabulous on Sunday 31st of December 2006 01:39:12 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
Gnome2::Bonobo::DockItem(3pm)				User Contributed Perl Documentation			     Gnome2::Bonobo::DockItem(3pm)

NAME
Gnome2::Bonobo::DockItem - wrapper for BonoboDockItem HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gnome2::Bonobo::DockItem INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gnome2::Bonobo::DockItem->new ($name, $behavior) o $name (string) o $behavior (Gnome2::Bonobo::DockItemBehavior) dockitembehavior = $dock_item->get_behavior widget = $dock_item->get_child string = $dock_item->get_name orientation = $dock_item->get_orientation boolean = $dock_item->set_orientation ($orientation) o $orientation (Gtk2::Orientation) shadowtype = $dock_item->get_shadow_type $dock_item->set_shadow_type ($type) o $type (Gtk2::ShadowType) PROPERTIES
'orientation' (Gtk2::Orientation : default "horizontal" : readable / writable) Orientation 'preferred-height' (Glib::UInt : default 0 : readable) Preferred height 'preferred-width' (Glib::UInt : default 0 : readable) Preferred width 'shadow' (Gtk2::ShadowType : default "out" : readable / writable) Shadow type SIGNALS
dock-drag-begin (Gnome2::Bonobo::DockItem) dock-drag-motion (Gnome2::Bonobo::DockItem, integer, integer) dock-drag-end (Gnome2::Bonobo::DockItem) dock-detach (Gnome2::Bonobo::DockItem) orientation-changed (Gnome2::Bonobo::DockItem, Gtk2::Orientation) ENUMS AND FLAGS
flags Gnome2::Bonobo::DockItemBehavior o 'normal' / 'BONOBO_DOCK_ITEM_BEH_NORMAL' o 'exclusive' / 'BONOBO_DOCK_ITEM_BEH_EXCLUSIVE' o 'never-floating' / 'BONOBO_DOCK_ITEM_BEH_NEVER_FLOATING' o 'never-vertical' / 'BONOBO_DOCK_ITEM_BEH_NEVER_VERTICAL' o 'never-horizontal' / 'BONOBO_DOCK_ITEM_BEH_NEVER_HORIZONTAL' o 'locked' / 'BONOBO_DOCK_ITEM_BEH_LOCKED' enum Gtk2::Orientation o 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL' o 'vertical' / 'GTK_ORIENTATION_VERTICAL' enum Gtk2::ShadowType o 'none' / 'GTK_SHADOW_NONE' o 'in' / 'GTK_SHADOW_IN' o 'out' / 'GTK_SHADOW_OUT' o 'etched-in' / 'GTK_SHADOW_ETCHED_IN' o 'etched-out' / 'GTK_SHADOW_ETCHED_OUT' SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::Bonobo::DockItem(3pm)
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy