Unlocking the Dock

Hello everyone!


I am experiencing some problems with my Macbook. The Dock was already locked when I got it and now I want to unlock it.

I tried using the app Terminal with defaults write com.apple.dock contents-immutable -bool false

killall Dock

The Dock flashes but it is still locked.

I tried also defaults write com.apple.dock contents-immutable -bool no

killall Dock

And still it didn't work.


Do you know how I can unlock it?


Thanks!

MacBook

Posted on Oct 7, 2019 11:39 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 8, 2019 11:41 AM

16 replies

Oct 9, 2019 11:39 AM in response to navaho99

With a mistaken Solved marked it may pay to start a new topic to get more helpers in on it.


To find out if it's system wide or user specific, try this...


Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.


Is the Dock mutable in the new account?

Oct 9, 2019 6:21 AM in response to Helen-IMDS

Not sure why this question was marked as solved. It's not solved. The indicated checkbox in the app info pane is also unchecked for me, yet the dock is locked and I can neither check nor uncheck that box.


The com.apple.dock prefs file that the default writes command references no longer exists, so that is no longer an option.


The upgrade to Catalina has put items into the doc that I cannot remove. That shouldn't happen, but it did. I'd like to remove them.

Oct 10, 2019 12:04 PM in response to BDAqua

Well you and I might think that, however it is seems to be the Catalina model now.


Once you restart it with SIP -->off<-- the computer is in read only as part of the new security Model it would seem. However you can run "sudo mount -uw /" to make it read/write. I did that and the lock checkmark would now accept changes and finally hold its' value. But unfortunately, checking it as either locked or unlocked however did nothing at all when I rebooted back into normal user mode with sip turned back on. I tried both. Of course with sip on the checkmark would not accept changes, as we now know. The checkmark simply doesn't seem to be followed. On, off, whatever, the dock stays locked. Additionally, out of curiosity I again disabled sip, remounted r/w, and then went into the Dock.app/Contents/info.plist prefs file and added a key and value for contents-immutable testing both False and True and that did nothing.


I'm totally stumped.


I know that I am not the only person that had fumblitis and locked the dock to keep from accidentally shoving icons off of it. I know that I am not the only person that is going to see the new icons that Catalina put into it and want to remove them. There's got to be a way to unlock this dock and get them off.

Oct 10, 2019 1:28 PM in response to BDAqua

To this point Catalina has been mostly fine. 1password's chrome plugin has an issue on Catalina that they are aware of and have been working on. That will be fixed soon. My old MS Office 2013 was 32 bit of course no longer works. It might require expensive replacement but there are alternatives which get better and better all the time. I don't use it daily, fortunately for me. And this lock thing because I have now have dock icons I do not want.


But my biggest gripe is that Nerdtool no longer works. And of course it has not been updated in 8 years, so that's a done deal there. Shame, as that's the one I really really miss the most.

Oct 17, 2019 7:59 AM in response to BDAqua

I finally got this, so I thought that I'd come back and post it for others that have this issue upon upgrading to Catalina.


The terminal trick with defaults write etc, no longer works (read the big warning buried down toward the bottom of the defaults man pages).


The correct way to do it now is with plutil. Maybe always was, in fact.


to unlock it

$: plutil -replace contents-immutable -bool NO  com.apple.dock.plist; killall Dock


to lock it

$: plutil -replace contents-immutable -bool YES  com.apple.dock.plist; killall Dock

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unlocking the Dock

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.