Hide your Mac Desktop

If you’re anything like me, the crippling shame of your father’s disapproval has defined your entire life. As a result, you compensate by drinking more alcohol than is strictly healthy, and by posting vidcap tutorials to win the love and respect of your peers. As a result, you may find it useful to occasionally hide all the crap on your desktop before you begin.

Sure, you could shell out literally dozen of dollars to do it with deskshade, but wouldn’t you rather roll your own? I know I would! TO THE TERMINAL!

There is a simple terminal command that will kill all of your desktop icons. Check it:

defaults write com.apple.finder CreateDesktop -bool false && killall Finder

BOOM! Just like that, all of your icons are gone. You’re back to that deep, deep emptiness that only comes from zen-like simplicity or chemical realignment of your brain functions. Once you’ve finished doing your business, you can reload the icons with the following command:

defaults write com.apple.finder CreateDesktop -bool true && killall Finder

If you’re a code ninja, wipe that Cheetos™ dust off your fingers and drop this command into your .bash_profile list of shortcuts. Add the following lines, each on it’s own line, of course.

alias deskdown='defaults write com.apple.finder CreateDesktop -bool false && killall Finder'

alias deskup='defaults write com.apple.finder CreateDesktop -bool true && killall Finder'

Now you can hit all that icony goodness just by opening the terminal and typing "deskdown" and "deskup".

Enjoy. Give love in the comments.

2 thoughts on “Hide your Mac Desktop

Leave a Reply