Skip to content

Rearrange automatically

Choose whether to rearrange Spaces automatically.

  • Tested on macOS:
    • Sonoma
    • Ventura
    • Monterey
    • Big Sur
    • Catalina
    • Mojave
  • Parameter type: bool

Set to true (default value)

Do reorder Spaces based on most recent use

bash
defaults write com.apple.dock "mru-spaces" -bool "true" && killall Dock

Set to false

Keep the Spaces arrangement

bash
defaults write com.apple.dock "mru-spaces" -bool "false" && killall Dock

Read current value

bash
defaults read com.apple.dock "mru-spaces"

Reset to default value

bash
defaults delete com.apple.dock "mru-spaces" && killall Dock

Set value from UI

  1. Access Dock settings from macOS UI
  2. Toggle "Automatically rearrange Spaces based on most recent use" value