We know why it is moving: Why does my dock keep moving back to my other monitor?
Now, how can we stop it? Some terminal command or even paid software?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityWe know why it is moving: Why does my dock keep moving back to my other monitor?
Now, how can we stop it? Some terminal command or even paid software?
You cannot "just" stop it - unfortunately.
You have some options to keep it in the same place, but they have drawbacks:
A) Keep the dock on the left or right side of the desktop. That way it will stay in place.
or
B) In Preferences => Mission Control, uncheck "Displays have seperate spaces". Now the dock will stay in place, but you will loose the spaces functionality.
sudo killall Dock
Worked for me like @Allan or @Scott Reed suggested above.
My solution is to create a new shortcut with ICanHazShortcut with the terminal command "killall Dock". When you press the shortcut key you designate, it will move the dock back to the primary monitor.