Jeff Mikels » March 12, 2014

Daily Archives: March 12, 2014


Hide/Show Desktop Icons on Mac OSX

I get distracted easily, so I wrote a little script to toggle the visibility of the desktop icons on Mac OSX.

Here it is:


CURRENT=$(defaults read CreateDesktop 2>/dev/null || echo 1)

defaults write CreateDesktop $((! $CURRENT))
killall Finder

Just run this script and if the icons are on your desktop, they will all disappear… if you have already hidden them, run this script to get them back.

Published by: