Dienstag, 28. Februar 2012

LockDock

I wrote a little Mac App for locking/unlocking the Dock against changes of any kind. It asks for admin-rights when run, so it can't be tampered with easily. It should work from OS X 10.4 on, I have only tested it with 10.7 Lion.


Download: LockDock 


It works by using calling the following shell commands (via applescript)


defaults write com.apple.Dock contents-immutable -bool yes            
defaults write com.apple.Dock size-immutable -bool yes            
defaults write com.apple.Dock position-immutable -bool yes
killall Dock

(or replace yes by false for unlocking)

Send me a message if you want the XCode project...

Kommentare:

  1. Haha... I wrote a similar app a few years ago, except it was called "DockLock." Also, it was an AppleScript and used ManagedClient rather than just the Dock's plist.

    AntwortenLöschen
  2. :) we should merge our versions to sth called "LockDockLock" ;)

    AntwortenLöschen