Picture of Show desktop in mac osx (aka hide all)
Ever since I got a mac I missed the functionality of "show desktop" that windows has, with its keyboard shortcut: windows key+D.
F11 simply doesn't cut it, creating messy borders at the edge of the screen.

This is my goal: hiding all windows using a keyboard shortcut.
Remove these adsRemove these ads by Signing Up

Step 1: Downloads

you'll need to download 2 freeware applications, and install them:

1) Show Desktop
This will hide all the windows

2) Xkeys - 1.1.1
This will allow us to use function keys.

Step 2: Using Show desktop

Picture of Using Show desktop
Open Show Desktop.

When you press on the Show desktop icon in the Dock it will hide all applications (depending on the preferences).

go to the preferences in Show Desktop, and see the different options, this is something you should do with every new program you get so as to use it the best way you can.

I set my prefrences this way (see picture):

Step 3: Using Xkeys

Picture of Using Xkeys
open Xkeys

see image 1, and copy it.
Press F8 (or the function key you chose), this should hide all the windows!

but wait, we're not done yet,
remember about always checking the preferences?
Go to the preferences (see image 2) and uncheck the last box (the one that says can put Xkeys on standby using...) so it does not collide with other programs.
For example cmnd+F12 is used by firefox as "undo close tab" but will be overridden by Xkeys, creating much angst and dismay!

That's it, you're done!
JakubP13 months ago

How do I do it without downloads is what I am looking for.

JakubP1 JakubP13 months ago

Seriously dude?

ceebee11 year ago
not what I was looking for but thanks.
ppsirker2 years ago
Four finger pinch out shows the desktop. put your thumb and three fingers in close position and then open it outward like increasing circle. it will show the desktop. for this you need to enable this gesture in "system preference" "trackpad" "more gestures" "show desktop"
ndsa6 years ago
Not strictly a keyboard shortcut but pressing Cmd+Option and clicking on the desktop will hide all open windows.
JennD17 ndsa3 years ago
Thank you ndsa! That's exactly what I was looking for! :)
ndsa ndsa6 years ago
edit : it won't hide open finder windows.
vsy3 years ago
lots of info. why do we want do everything the pc way ? well just use 4 finger scroll up to show desktop. isnt it ?
jfreas vsy3 years ago
It's a bit arrogant to assume that we're all sitting in front of a laptop.
Why does someone always reply with a PC vs Mac comment?

The computer was invented to make our lives easier if hiding all windows make this guys life easier then why does it matter what system its like?

I've got used to pushing F11 now but it still aggravates my OCD a little :)
ngrevious3 years ago
swipe up on track pad sith four fingerS
Works with lepord at least
tell application "System Events"
    set visible of every process whose visible is true to false
end tell

Here's an applescript to do the job
saultopaul5 years ago
Hi Folks I spent ages looking around and there is the answer right on the mac. 1/ open expose ( apple on menu/system preferences/expose & spaces 1/ open and select menu expose 2/ select in the window where t shows desktop field name any of the drop down keys you wish ( i chose F19 because i don't know if i ever use or will use it for anything else AND its the top right hand key, so no need to look too much!) tha's it. No need for me to buy the app i am trying to do the same with( trying because the showdesktop app keeps crashing anyway!! All the best to you if anyone ever gets to read this etc !! Paul
You can do the same thing by actually quitting Finder. See my 'ible: Quit Finder
Why not just use Exposé?
dr15 (author)  TheShawMaestro6 years ago
Because it doesn't really hide the applications.
Oh, ok. One thing you could use is the Dockables action "Hide apps" that hides all apps open.