Clearing macOS Desktop Clutter

< 1 min read

Every year I create a folder on my macOS desktop with the current year, like 2024 and move all the desktop items into it (so it contains a folder named 2023 and so on). The reason? To clear my desktop, as for some reason macOS defaults to it for saving various files.

This two-liner is better. Simply turns off the display of the files on your desktop. Perfect 👌

defaults write com.apple.finder CreateDesktop false
killall Finder

And to change the default screenshot location:

mkdir ~/Pictures/Screenshots
defaults write com.apple.screencapture location ~/Pictures/ScreenshotsCode language: JavaScript (javascript)