MacMost Q&A Forum • View All Forum QuestionsAsk a Question

Is There a Way To Lock the Dock In Lion?

Is there a way to lock down the items on the Dock so that you can’t accidentally drag them off? I have a very sensitive Wacom Bamboo tablet, and I keep doing this.
—–
Shirl Parker

Comments: 3 Responses to “Is There a Way To Lock the Dock In Lion?”

    12 years ago

    Yes, there is a way to do this. But only if you are comfortable with using Terminal commands.
    The command to lock the Dock is:
    defaults write com.apple.dock contents-immutable -bool true
    Then you need to restart the dock:
    killall Dock
    To unlock it again, use the same command but with false instead of true.
    For anyone reading this that wants to lock the Dock for other users on their Mac (kids, etc) you can use Parental Controls to do this too.

    Shirl Parker
    12 years ago

    Perfect! Thank you. Can I create a keyboard shortcut in Lion to enter this text in Terminal?

      12 years ago

      You probably can. I suppose you can make a .sh shell program to do so.

Comments Closed.