|Aug 16, 2009, 09: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, 10: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 ; 17" MacBook Pro, 2.2GHz i7 ; 32GB iPad mini ; 32GB iPhone 5S
|Aug 16, 2009, 10: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 11:14 AM.
|Aug 16, 2009, 11:10 AM||#5|
You learn something new everyday.
|Feb 4, 2013, 09: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 09:29 AM|
|Is there any way to Lock the Dock?||NSK123||OS X||2||Jun 17, 2009 11:27 PM|
|lock the dock?||kakapo||OS X||6||Dec 26, 2008 10:52 PM|
|Locking the dock||zen||OS X||7||May 12, 2008 05: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 08:53 PM|
All times are GMT -5. The time now is 08:58 AM.