Hide or Show OSX Desktop Icons

I do A LOT of presentations and I have an absolute MESS on my desktop (…who doesn’t…).

I use this command in Terminal to hide my shame:

[code language=”bash”]
defaults write com.apple.finder CreateDesktop -bool false
killall Finder
[/code]

And here’s the command to show the mess again:

[code language=”bash”]
defaults write com.apple.finder CreateDesktop -bool true
killall Finder
[/code]

If you don’t want to run Terminal and type that in every time you can add the following functions to your bash_profile (~/.bash_profile)

[code language=”bash”]
# Hide Desktop icons
function hide()
{
defaults write com.apple.finder CreateDesktop -bool false
killall Finder
}

# Show Desktop icons
function show()
{
defaults write com.apple.finder CreateDesktop -bool true
killall Finder
}
[/code]

And if you are running Alfred (you ARE running Alfred aren’t you????) you can just import this workflow:
http://bit.ly/11ItOkk
The keywords are “SHOW” and “HIDE”

…you’re welcomed… 😉

Leave a Reply

Discover more from OraMatt: YABAOracle

Subscribe now to keep reading and get access to the full archive.

Continue reading