How to Lock the Dock Icons in Mac OS X (to Make It Childproof)

Apple Dock

One of the best features of Macintosh OS is how easy it is to use. My son was able to navigate on a Mac at 18 months and would regularly add and remove items from the dock, but later get frustrated when he couldn’t find them. In order to prevent problems, I decided to lock the dock so that no other applications could be added to it.

Unfortunately, Mac OS X doesn’t provide a simple setting that will let you lock the dock, but it is possible to do by editing a file in the terminal. Here’s how.

1. Open one of the applications you want to always be in the dock, and right click on its dock icon. You will do these steps for each app you want to keep in the dock.

Right click on a Dock item

2. Toggle “Keep in Dock” to on in the Options menu.

lock dock2 2629721406161334 525295

3. Open Terminal.

terminal window

MORE: How to Install and Uninstall Software on a Mac

4. In the terminal window type: defaults write com.apple.dock contents-immutable -bool true

copy and paste the text

This locks the dock, if you wanted to unlock the dock, type: defaults write com.apple.dock contents-immutable -bool false

5. Then type: killall Dock

killall Dock

Your display may blink a couple of times and open your widgets screen, but then it will be done and your dock will be locked with the apps you want available only.

AUTHOR BIO
Jennifer Kyrnin
Jennifer Kyrnin
Jennifer Kyrnin has been building websites since 1995, and teaching others how to do it since 1997. She's written several books on the topic, and is probably working on another one right now. And she does it all on her beloved iMac and sometimes her MacBook Air.
Jennifer Kyrnin on
Facebook Twitter Google+
LEAVE A REPLY
Name*
Email* (will not be published)
Website
*Indicates required field
Comments*
Submit Comments

FIND A REVIEW
Laptops
All Product Types Accessories Cars Digital Camcorders Digital Cameras eReaders GPS Laptops MP3 & Video Players Projectors Smartphones Software Storage Tablets / MIDs VoIP Wi-Fi
All Subcategories
All Subcategories All-Purpose Budget Business Desktop Replacement Gaming Multimedia Netbook Nettop Rugged Student Tablet PCs Ultraportable
Brand
Acer Alienware Apple Archos ASUS Averatec BenQ CTL Corp. Dell Digital Storm eMachines Emtec Everex Fujitsu GammaTech Gateway General Dynamics Getac Gigabyte Hercules HP HTC iBuyPower Intel Lenovo MSI Nokia Nvidia OCZ OLPC OQO Origin Panasonic Sager Samsung Sony Sylvania Systemax TabletKiosk Toshiba Verizon Viewsonic Viliv VooDoo Workhorse PC ZT Systems
Minimum Rating
Any Rating 4.5 Stars 4.0 Stars 3.5 Stars 3.0 Stars
Screen Size
10 11 12 13 14 15 16 17 18 20 4 5 6 7 8 9
Resolution
1024x576 1024x600 1024x768 1200X800 1280 x 720 1280x1024 1280x768 1280x800 1366x678 1366x768 1440x1050 1440x900 1600x768 1600x900 1680x1050 1680x945 1920x1080 1920x1200 800x400 800x480
Weight Range
10.1 - 12.0 pounds 12.1 - 14.0 pounds 14.1 - 16.0 pounds 2 lbs 2 pounds and under 2+ lbs 2.1 - 4.0 pounds 4.1 - 6.0 pounds 6.1 - 8.0 pounds 8.1 - 10.0 pounds Over 16 pounds Under 2 pounds
more options
SUBSCRIBE