Dock is stuck on one screen when running multiple monitors.

When I originally began running multiple (two) external monitors, my dock would move to whatever monitor I currently using. That bothered me at the start so I did a quick google search and the solution I found was running a script in terminal to lock the dock. Now, i can't quite remember what the script was or where it came from, BUT now I'd prefer my dock to move to whatever screen i'm actively using and its stuck to the right side of my devices main display.


I will note that I have tried multiple other scripts to "reset" my dock and I've gone as far as removing my dock preferences in my library. However, that didn't seem to change anything at all.


Any Idea what might be the issue here?

MacBook Pro 13″, macOS 10.15

Posted on Jan 19, 2021 4:11 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2021 3:55 AM

I think this may be what you have done some time ago:


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


And now you probably just need to reverse it by executing the following line in Terminal (feel free to copy and paste):


defaults write com.apple.Dock position-immutable -bool no; killall Dock


5 replies
Question marked as Top-ranking reply

Jan 20, 2021 3:55 AM in response to macgregormonroe

I think this may be what you have done some time ago:


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


And now you probably just need to reverse it by executing the following line in Terminal (feel free to copy and paste):


defaults write com.apple.Dock position-immutable -bool no; 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.

Dock is stuck on one screen when running multiple monitors.

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