Skip to content

missionControl

Automatically rearrange Spaces based on most recent use

Section titled “Automatically rearrange Spaces based on most recent use”

Desktop & Dock > Mission Control > Automatically rearrange Spaces based on most recent use

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.missionControl.automaticallyRearrangeSpacesBasedOnMostRecentUse

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock mru-spaces -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock mru-spaces -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock mru-spaces 2>/dev/null || true

Desktop & Dock > Mission Control > Displays have separate Spaces

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.missionControl.displaysHaveSeparateSpaces

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/com.apple.spaces spans-displays -bool "true" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/com.apple.spaces spans-displays -bool "false" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/com.apple.spaces spans-displays 2>/dev/null || true

Drag windows to top of screen to enter Mission Control

Section titled “Drag windows to top of screen to enter Mission Control”

Desktop & Dock > Mission Control > Drag windows to top of screen to enter Mission Control

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.missionControl.dragWindowsToTopOfScreenToEnterMissionControl

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock enterMissionControlByTopWindowDrag -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock enterMissionControlByTopWindowDrag -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock enterMissionControlByTopWindowDrag 2>/dev/null || true

Desktop & Dock > Mission Control > Group windows by application

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.missionControl.groupWindowsByApplication

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock expose-group-apps -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/ByHost/com.apple.dock expose-group-apps -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/ByHost/com.apple.dock expose-group-apps 2>/dev/null || true

When switching to an application, switch to a Space with open windows for the application

Section titled “When switching to an application, switch to a Space with open windows for the application”

Desktop & Dock > Mission Control > When switching to an application, switch to a Space with open windows for the application

Option Module: home-manager

Option Path: applications.systemSettings.desktopAndDock.missionControl.whenSwitchingToAnApplicationSwitchToAspaceWithOpenWindowsForTheApplication

Option Value Description: null or boolean or value "unset" (singular enum)

false:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/com.apple.preference.global AppleSpacesSwitchOnActivate -bool "false" 2>/dev/null || true

true:

Terminal window
/usr/bin/defaults write ~/Library/Preferences/com.apple.preference.global AppleSpacesSwitchOnActivate -bool "true" 2>/dev/null || true

unset:

Terminal window
/usr/bin/defaults delete ~/Library/Preferences/com.apple.preference.global AppleSpacesSwitchOnActivate 2>/dev/null || true