Web Development

How To Hide Desktop Icons In MacOS

To hide all of the desktop icons in MacOS, open up Terminal and run:

defaults write CreateDesktop -bool false

To see the change take effect, restart Finder using the following command in Terminal:

killall Finder

To show the desktop icons again, just change the command to use true instead of false:

defaults write CreateDesktop -bool true

And restart Finder again:

killall Finder