Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Set Dock switching mode to 'hide others' by default System
If you prefer being able to focus on one application at a time, you may find this hint useful -- it sets the Dock to automatically hide every application other than the one you're switching into. So when you click on Mail, for instance, the effect is as though you activated Mail and then chose Mail -> Hide Others (or pressed Command-Option-H).

To enable this switching mode, open Terminal and type these commands:
$ defaults write com.apple.dock single-app -bool TRUE
$ killall Dock
From now on, clicking on an application in the Dock will hide all other open apps while switching to the selected application. You will not see this behavior if you use Command-Tab to switch, or click directly on another application's windows. To disable the feature, repeat the above commands, but replace TRUE with FALSE. (Alternatively, you can delete the entry entirely with defaults delete com.apple.dock single-app.) Remember to restart the Dock as well.

For an easier method of implementing this feature, see this hint.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[8,629 views]  

Set Dock switching mode to 'hide others' by default | 14 comments | Create New Account
Click here to return to the 'Set Dock switching mode to 'hide others' by default' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Try the amazing Option key
Authored by: derekJAB on Mon, Dec 29 2008 at 9:19AM PST
Or you could just hold down the Option key when clicking on an application in the Dock.

[ Reply to This | # ]
Try the amazing Option key
Authored by: CaptDeuce on Mon, Dec 29 2008 at 9:24AM PST
Hold down the option and click the mouse? What, and force me to put down my cup of coffee? Nay, sir! I shall never submit to such tyranny!

---
"Where's my other sock?" - A. Einstein

[ Reply to This | # ]

Try the amazing Option key
Authored by: r0n on Tue, Dec 30 2008 at 4:43AM PST
Being a lefty I can easily use my thumb for modifier keys and still operate the mouse with my fingers (specially the Pro mouse..). Right handed guys can't because of the cursor & numeric keypad is in between, at least they need bigger hands ;)

[ Reply to This | # ]
Try the amazing Option key
Authored by: FelixMendeldog on Tue, Dec 30 2008 at 5:34AM PST
Option Key only switches to clicked app and hides only the current app. The technique described here switches to clicked app and hides all other apps. I prefer this behavior since I rarely use the Dock to switch apps.

To switch easily to a clear desktop, I have programed iKey to switch to Finder, hide others with a keystroke. No new Finder window appears using this technique.

[ Reply to This | # ]
Try the amazing Option key
Authored by: MJCube on Tue, Dec 30 2008 at 11:16PM PST
Note, though, that Command-Option-click on a Dock icon does hide all other apps.

[ Reply to This | # ]
Try the amazing Option key
Authored by: luvosx on Fri, Sep 11 2009 at 11:00AM PDT
Oh, I just accidentally stumbled on to <cmd><option>Click on desktop. This hides all windows as if you hit hide on each window. Very nifty use of suddenly hiding all windows when someone walks by or comes by your desk.
Just <Option>Click on desktop hides current window only.

[ Reply to This | # ]
Try the amazing Option key
Authored by: luvosx on Fri, Sep 11 2009 at 11:01AM PDT
Duh, just saw the other comment earlier. Guess the newb still has a lot to learn :)


[ Reply to This | # ]
Try the amazing Option key
Authored by: palahala on Fri, Sep 11 2009 at 11:44AM PDT

Like meanwhile you've probably already read in the other comments: this will keep any Finder window open. (You're actually switching to Finder by clicking on the desktop.)

I guess that Exposé's Show Desktop (F11 or Command-F3) is easier used as your boss key then, though that will leave some borders visible.



[ Reply to This | # ]
Set Dock switching mode to 'hide others' by default
Authored by: robogobo on Mon, Dec 29 2008 at 11:57AM PST
or use Freeverse's app Think http://www.freeverse.com/apps/app/?id=7013

It places a colored semi-transparent field behind a single app, selected by an alternate "command-tab" switcher. I have it set to activate on a middle click. You can temporarily bring other apps forward with the standard cmd-tab, and then send them back by clicking Think (or middle click in my case). It's free and really useful.

[ Reply to This | # ]
Set Dock switching mode to 'hide others' by default
Authored by: Tim.Lance on Mon, Dec 29 2008 at 2:30PM PST
Is there some way to not have a Finder window appear? If there are none already open in Finder, using this hint has Finder creating a new window. My main use for using this hint would be to show a clear Desktop.

[ Reply to This | # ]
Set Dock switching mode to 'hide others' by default
Authored by: dstewart on Tue, Dec 30 2008 at 5:55AM PST
To get to a clear desktop, simply Option-click on any visible part of the desktop. (Yes, it is hard to Option-click on the non-visible parts! :) )

---
David

[ Reply to This | # ]
Set Dock switching mode to 'hide others' by default
Authored by: dstewart on Tue, Dec 30 2008 at 5:56AM PST
Sorry, make that Command-Option-click on a visible part of the desktop.

---
David

[ Reply to This | # ]
Set Dock switching mode to 'hide others' by default
Authored by: Tim.Lance on Tue, Dec 30 2008 at 6:22AM PST
Nice. Now to figure out a way to get that done without using my other hand.

[ Reply to This | # ]
Set Dock switching mode to 'hide others' by default
Authored by: Dr. T on Tue, Dec 30 2008 at 10:26AM PST
The hint will cause problems if you use third party spelling and grammar checkers. Every time you invoke the spelling checker, the application you were working in will hide.

[ Reply to This | # ]