Disable Desktop Switching in Mac OSX

April 7, 2016 — Leave a comment

Backstory

On Mac OSX, it would annoy me whenever I wanted to open a new Chrome browser on a 2nd workspace, and it would autoswitch to the first instance on the 1st workspace. We can disable it by desktop spaces auto-switching by entering a terminal command.

How to Disable Desktop Autoswitching

Open terminal and enter this command:

defaults write com.apple.dock workspaces-auto-swoosh -bool NO

Then restart the Dock by entering this command in terminal:

killall Dock

Enable Desktop Autoswitching

Open terminal and enter these two commands:

 defaults write com.apple.dock workspaces-auto-swoosh -bool YES
 killall Dock

Mike

Posts Twitter Facebook

My name is Michael Le, and I am a web developer.

No Comments

Be the first to start the conversation.

Leave a Reply