OraMatt: YABAOracle

Yet Another Blog About Oracle

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:

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

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

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

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)

# 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
}

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 comment

Navigation

About

I’m Matt and I do Oracle things.