Switch to Space with open windows
When switching to an app, switch to a space with open windows for this app.
- Tested on macOS:
- Ventura
- Big Sur
- Parameter type: bool
Set to true (default value)
Switch to a Space with open windows for the application.
bash
defaults write NSGlobalDomain "AppleSpacesSwitchOnActivate" -bool "true" && killall Dockdefaults write NSGlobalDomain "AppleSpacesSwitchOnActivate" -bool "true" && killall DockSet to false
Do not switch to a Space with open windows for the application.
bash
defaults write NSGlobalDomain "AppleSpacesSwitchOnActivate" -bool "false" && killall Dockdefaults write NSGlobalDomain "AppleSpacesSwitchOnActivate" -bool "false" && killall DockRead current value
bash
defaults read NSGlobalDomain "AppleSpacesSwitchOnActivate"defaults read NSGlobalDomain "AppleSpacesSwitchOnActivate"Reset to default value
bash
defaults delete NSGlobalDomain "AppleSpacesSwitchOnActivate" && killall Dockdefaults delete NSGlobalDomain "AppleSpacesSwitchOnActivate" && killall Dock