Image by David Mark from Pixabay

TIL how to keep macOS desktops order

I use a macbook almost every day, and I have a lot of apps opened all the time : iTerm2, Firefox, Spotify, Spark, Slack, VSCode and more... I like to have them displayed on differents "desktops" to switch between apps fast with my mouse. Until today, desktops moved sometimes from one position to another. Desktop 2 switched with Desktop 4 or another according a kind of random pattern I didn't identify. 

Finally, I decided to search a little on the internet and I found the guilty : Mission Control.

To enable/disable desktops reordering, go to 

System Prefs > Mission Control

And check/uncheck 

Automatically rearrange Spaces based on most recent use.

Thanks to Tetsujin 

Enjoy!