Move the Dock Quickly
You may find it convenient to move the position of the Dock when working in certain programs or with certain files. Rather than choosing a different position from the Dock preferences pane or using a submenu in the Apple menu's Dock submenu, you can move your Dock to a different screen edge merely by Shift-dragging the separator that divides the application and document sections.
Visit plucky tree
Submitted by
cricket
Recent TidBITS Talk Discussions
- Alternatives to MobileMe for syncing calendars between iPad/Mac (1 message)
- Free anti-virus for the Mac (20 messages)
- iTunes 10 syncing iPod Touch 4.1 (2 messages)
- Thoughts about Ping (16 messages)
Published in TidBITS 999.
Subscribe to our weekly email edition.
- Vonage Releases Apps for International Calling
- Cloud Data Blown Away for Sidekick Users
- VoIP over Mobile Broadband a Smart Move for AT&T
- Amazon Extends Kindle Beyond United States
- Make Old Apple Printers Work in Snow Leopard
- TidBITS Watchlist: Notable Software Updates through 12-Oct-09
- Bonus Stories for 12-Oct-09
- ExtraBITS for 12-Oct-09
- Hot Topics in TidBITS Talk for 12-Oct-09
Revealing Mac OS X's Hidden Single-Application Mode
Having returned from an archeological dig into the dark history of Mac OS X, I've unearthed a feature that could change the way you interact with your applications, enabling you to focus on one or two more easily than in the past.
Back in 1999, when Steve Jobs first showed off the new Finder in Mac OS X, it ran in a single-application mode, where switching from one application to another caused the first application to minimize (this was the original demo of the Genie effect). This was intended to be the default behavior, but it was so widely reviled that Apple quickly changed the default to the familiar multi-application mode that shows multiple applications on the screen at the same time.
Mac OS X's multi-application mode differed from how previous versions of the Mac OS worked in that it interleaved all open windows without regard to which application they belonged to, a feature that annoyed a lot of long-time Mac users.
In Mac OS X 10.6 Snow Leopard, Apple has made significant improvements to the Dock, including improved Expose integration and minimizing windows invisibly, among much else. As a result, people who are starting to use the Dock seriously for the first time are discovering that clicking an icon in the Dock brings all its windows to the foreground. This interface behavior isn't new in Snow Leopard, of course, but it's an example of how Apple has never really given up the desire to make users focus on a single application at a time.
Single-application mode is how the iPhone works, of course, and on the Mac, almost all Apple applications - think about Mail, iTunes, and iPhoto - rely on a single window that can easily take over the entire screen. When an application needs a second window, such as for keywords or editing in iPhoto, it is generally a palette that disappears when the application is not in the foreground.
But it goes further. Lurking in the scary bowels of Mac OS X for all these years has been this little command, which brings back single-application mode. (Go ahead and try it - it's easily reversed.)
defaults write com.apple.dock single-app -bool true
For single-application mode to take effect, you have to relaunch the Dock with this second command.
killall Dock
That's right, the original single-application mode in pre-release versions of Mac OS X is still with us. Although it was always intended as a simple option for people who are not computer experts, it turns out to be an interesting option for the power user.
The most important fact to realize is that single-application mode is tied exclusively to the Dock. This means that if you click an application's icon in the Dock, it immediately hides all the other applications, including the Finder.
However, if you switch applications through any other method, including clicking another visible application's window and the Command-Tab application switcher, Mac OS X's normal multi-application approach remains in effect, and nothing will be hidden.
You can thus combine methods of switching between applications. Click Mail in the Dock, then use Command-Tab to switch to Safari, and you'll end up with both Mail and Safari on screen, and nothing else. If you later want to hide Safari again, click Mail's Dock icon (or just Option-click on Mail's window).
If you think about this for a minute, you'll start to see the possibilities. Enabling single-application mode means that you can quickly and easily build a custom list of visible applications, and that list is dynamic. In other words, you can achieve a lot of what you might use Spaces for, without having to switch between spaces or manage which applications show in which spaces.
The main advantage to this single-application mode is that clicking an application in the Dock has always, as I mentioned earlier, brought all that application's windows to the foreground. So, when I click Terminal's icon in the Dock, not only do all other applications immediately disappear from view, I see the window for my local shells, the window for the remote shells on my mail server, and the window for the remote shells on my primary DNS server. These windows are exactly where I want them on the screen and there are no other windows cluttering up the view. However, if I need to reference a Web page at the same time, I simply use Command-Tab to bring up Safari, giving me its window and Terminal's windows all on one screen.
With Spaces, I kept all my Web browser windows in one space, but that meant a lot of swapping back and forth, or moving a browser window to another space temporarily. With single-application mode I always have the applications I want in the foreground visible and everything else is hidden from view.
The primary downside is that single-application mode doesn't play nicely with Expose. When you activate Expose, it shows only windows for visible applications. I was hoping that it would treat the hidden applications' windows as minimized windows, but that was not the case.
For me there is also an issue with full-screen video. If I am watching something with VLC or QuickTime Player on my second monitor and I click an icon in the Dock, the video is hidden from view. That's not surprising, but it's not what I want since I think that a full-screen video should stay full-screen no matter what. It's something to be aware of if you tend to watch video while doing other work, as I do.
There may be other issues I haven't encountered in the few days I've been using single-application mode, but getting back to the normal multi-application mode is easy. Just paste this first command into Terminal and then restart the Dock with the second command.
defaults delete com.apple.dock single-app
killall Dock
In the end, the main thing that I've noticed in the last few days is that it is much easier for me to concentrate on a single task when I can quickly hide all unrelated applications and show just the one or two that I need right now. I'm finding that this method works better for me than Spaces, and I am a big fan of Spaces.
[Lewis Butler is a longtime Unix system admin, postmaster and Mac geek. He is a frequent contributor to a large number of mailing lists under his "LuKreme" alias.]
![](/file/11593/db.tidbits.com.tar/db.tidbits.com/images/badges/mark-space.gif)
address book, music, photos and much more between your phone
and Mac. Supports ANDROID, BLACKBERRY, PALM PRE and many
other phones. <http://www.markspace.com/bits>
I use to use the Hide commands much more in the classic OSes, I think then only one had a keyboard shortcut.
Now you could use the Hide commands when you want to do focused work. Just a thought
None the less, cool find.
I've also tried the hiding feature of DragThing, which as a "always visible" list, but I find Isolator does just what I need. I think by default it has a blur effect but it slows down window dragging, so I just use plain black with a bit of transparency so I can see where the other windows are.
So basically, this mode just inverts the hide default on the dock.
Potentially useful.
Per Apple KB article at http://support.apple.com/kb/HT2307
Command-Option-click
Hides other open items, in addition to click action.
http://freeverse.com/mac/product/?id=7013
It accomplished similiar effects without some of the limitations of the dock's single-user mode
I switch apps as normal, I get a mess of windows open, and that's fine because I work well that way. But then I want to concentrate on a couple of apps at a time, so I use the dock and a command-tab and everything distracting just goes away and I can focus on just BBEdit and the Terminal, or just Safari and the Terminal. Or just Safari and Mail.
Also, since I don't use the dock that much, my normal workflow is unaffected by this change. I have to decide, OK, now I need to work on this html ode, so let's go click BBEdit so I stop reading the twitter stream%u2026
Apple first showed off things it called "Mac OS X" in 1999, but Single Window Mode didn't show up until the first demo of the Aqua UI at Macworld SF in January 2000.
The Finder was never mentioned in that demo, and came up only briefly as a source of image files for a Quartz demo.
Single Window Mode was introduced only at the end of the demo, following description of all the other features of the Dock, and it was explicitly turned on (by clicking a titlebar widget available in all windows), not enabled by default.
solo()
{
case "$1" in
"" ) defaults write com.apple.dock single-app -bool true; killall Dock;;
"n" ) defaults delete com.apple.dock single-app; killall Dock;;
* ) echo "try solo [n]";;
esac
}
works a treat
Thanks for the tip and well written article!
Thanks.
The Mac could use a mode where only one app is visible. "Hide Others" should be a modifier key away when switching apps and elsewhere.
Originally I used autohide...but then application wizard showed up and I have used it ever since.But I am really grateful for this article because anytime I can do what I like without having to go third party...that's golden. Thanks.
It is a setting in LaunchBar 5 [ Actions \ Options \ Hide other applications when opening an item. Can turn it on and off at will.
I sometimes "park" a window using StickyWindows, and then call it up with the aid of the CMD key to temporarily show two application windows at once.
Simply reselecting the app of choice restores the single window focus again.
I also make extensive use of full screen mode for some apps - both Bean and Nisus for example - which gives one a nice focus even when there are many other windows open.
It is interesting, though not surprising, that Apple will not allow you to hide the only non-hidden application; that is something I hadn't run into.
I agree with you that there are some people who may find it useful, but as you read, I find it utterly useles.
To run into my deal-breaker issue, just click any application in the dock that isn't Finder, and then try to Cmd+H that app.
Shift-Control-Eject is the solution if you want everything hidden (it turns off the screen).
Lets you choose apps to not hide on the fly, all else it hides after pre-determined, configurable time.