|Aug 16, 2009, 10:38 AM||#1|
Lock the dock?
I have two questions concerning the dock.
a) I accidentally removed an application from the dock the other day and am not sure which, any way I can see log files of the dock to see which apps were on it?
b) Can I lock the dock to prevent accidental app removal?
|Aug 16, 2009, 11:40 AM||#3|
To your first question, I don't know. If you have Time Machine running, and it's backing up your library you could grab the com.apple.dock.plist file and replace the one in your current library.
As for locking the contents, yes you can. Either via a terminal command (which I don't know) or by using an app such as Docker, which is free. (Sorry I don't know the website off hand.)
Hope this helps!
21.5" iMac, 2.5GHz i5 ; 13" MacBook Air, 1.8GHz i5 ; 16GB iPad mini ; 32GB iPhone 5S
|Aug 16, 2009, 11:50 AM||#4|
To lock objects inside the dock, simply type this into Terminal:
defaults write com.apple.dock contents-immutable -bool YES; killall Dock
To revert just replace the YES with NO.
There's more you can play with, by replacing contents-immutable with:
position-immutable - Locks the ability to change the Dock position
size-immutable - Locks the ability to change the size of the Dock
Last edited by Simplicated; Aug 16, 2009 at 12:14 PM.
|Aug 16, 2009, 12:10 PM||#5|
You learn something new everyday.
After the Army: no one can stay forever
|Feb 4, 2013, 10:45 AM||#6|
A Simpler Solution to unlocking the dock
On an Older (non-2012 Mac Air) under MacHD/Library/Scripts/Dock - you will see 2 links, a lock and unlock. For our school system, (not sure about non corporate computers) we have to click twice to activate either command.
Computer Technician Trainer/ Novell Network Administrator
Stafford County Public Schools
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Lion and Locking the Dock||basher||Mac OS X 10.7 Lion||2||Jul 8, 2011 10:29 AM|
|Is there any way to Lock the Dock?||NSK123||OS X||2||Jun 18, 2009 12:27 AM|
|lock the dock?||kakapo||OS X||6||Dec 26, 2008 11:52 PM|
|Locking the dock||zen||OS X||7||May 12, 2008 06:20 AM|
|Is there anyway to lock icons in the dock (aka they cant be dragged off without pw)||VoodooDaddy||Mac Basics and Help||2||Sep 24, 2006 09:53 PM|
All times are GMT -5. The time now is 08:36 PM.