unlocking the dock

Joined
Sep 8, 2006
Messages
25
Reaction score
0
Points
1
i forgot how to unlock the dock so that i can add and remove applications...someone please direct me to the place to unlock it...
 
Joined
Apr 29, 2006
Messages
4,579
Reaction score
383
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
By default, the Dock is not locked. To remove, just drag the icon out to your desktop and it will disappear in a clever little puff of smoke. To add new ones, just drag them in - the others will slide apart to make room.
 
Joined
Feb 12, 2007
Messages
552
Reaction score
8
Points
18
Location
Northeast US
Your Mac's Specs
MacBook 2GHz/2GB/CD
But if you'd like to lock applications in the dock, you can do that too. Like mac57 said, nothing is locked in your dock unless YOU lock it yourself. You can do that by simply right clicking.
 
OP
S
Joined
Sep 8, 2006
Messages
25
Reaction score
0
Points
1
no. there is a way to physcially lock the dock so that no applications can be added or removed...i know this because i did it earlier this month and now i have forgotten how to undo this...right click only gives you the option of open at login, show in finder, or open. as of right now i cannot put any program in or take any out.
 
Joined
Sep 13, 2006
Messages
3,571
Reaction score
470
Points
83
Location
Colorado
Your Mac's Specs
Mac's
To LOCK the entire dock...In the Terminal type the following (Better yet, just copy/paste):


defaults write com.apple.dock contents-immutable -bool true
osascript -e 'tell application "Dock" to quit'


To UNLOCK the entire dock:

defaults write com.apple.dock contents-immutable -bool false
osascript -e 'tell application "Dock" to quit'
 
Joined
May 31, 2007
Messages
926
Reaction score
37
Points
28
Location
Ontario, Canada.
Your Mac's Specs
Macbook(W) 2GHz, 80GB HD, 1G RAM, Windows XP
also, if you use onyx. there is an option in it to "lock" the dock, where you cannot move the icons or add/remove applications.

it's under the parameters > dock
 
Joined
Apr 29, 2006
Messages
4,579
Reaction score
383
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
To LOCK the entire dock...In the Terminal type the following (Better yet, just copy/paste):


defaults write com.apple.dock contents-immutable -bool true
osascript -e 'tell application "Dock" to quit'


To UNLOCK the entire dock:

defaults write com.apple.dock contents-immutable -bool false
osascript -e 'tell application "Dock" to quit'

Just looking at that I now understand why some people are intimidated by Terminal.app. I am not one of those, but even to me, that looks SCARY!

Good find though Ride!!
 
Joined
Sep 13, 2006
Messages
3,571
Reaction score
470
Points
83
Location
Colorado
Your Mac's Specs
Mac's
Just looking at that I now understand why some people are intimidated by Terminal.app. I am not one of those, but even to me, that looks SCARY!

Good find though Ride!!

:D:D:D Hence my advice to "copy/paste" :D:D

EDIT: To make it a little easier... You can use the following in Terminal to "reset" the Dock:

killall Dock


There.... that's not quite as intimidating. :D

EDIT AGAIN: (Now I'm just obsessing :D)

To LOCK the Dock in Terminal type (or copy/paste):

defaults write com.apple.dock contents-immutable -bool true
killall Dock


To UNLOCK type:

defaults write com.apple.dock contents-immutable -bool false
killall Dock


For anyone interested.. the first line is to set an "immutable" flag on the Dock, meaning it can not be changed... TRUE means the flag is set. FALSE means it is not set.

The second line "killall Dock" simple resets the Dock, which allows the Dock to see the new changes.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top