macosxhints.com – 10.5: Disable Space switching on Command-Tab in 10.5.2 – I am so happy to see this
Tags: macosx spaces howto
Remember my complaints about Spaces on Leopard? Well good news, with 10.5.2 there is a way to fix that behavior, thanks to the folks at Mac OS X Hints: Disable Space switching on Command-Tab in 10.5.2.
They focus on the fact that this option changes the behavior of Command-Tab, but really that is only one element. No longer does clicking on a URL in Mail force me to switch to a different virtual desktop. No longer does clicking on an already running app in the dock force me to switch to a different desktop. I can’t tell you how happy I am to have this option now. The only let down is that they didn’t include in the Spaces preferences UI.
On the off chance that the instructions this disappear, here is the core details from the OS X Hints site:
The 10.5.2 version of the Dock has a new hidden preferences flag for Spaces. You can now set OSX to not automatically switch between spaces when you press Command-Tab. This is great for me, because I like to divide things by task, rather than by app. For a given task, I’ll probably have a TextEdit window, a Terminal window, and maybe a web browser. By default, when I clicked on a given app, I’d be transported to that app’s space, and have to go through a bunch of hoops to get the new window in the space I wanted. Now, I can just Command-Tab to the app I want, and create a new window in the current space! Here’s the command in Terminal:
defaults write com.apple.Dock workspaces-auto-swoosh -bool NO
After running the command, you’ll need to restart the Dock (
killall Dock). To undo, change NO to YES, or use
defaults delete com.apple.Dock workspaces-auto-swoosh. Note you’ll have to kill the Dock again for the changes to take effect.
The only thing really holding me back from upgrading my MacBook Pro to Leopard now is setting aside enough time to get it done.
It was nice to see Spaces on the feature list for Leopard (Mac OS 10.5). I’d been quite happy using Desktop Manager for virtual desktops on Mac OS X, but once Spaces was announced I think everyone working on virtual desktop software for Mac OS X pretty much threw in the towel.
Now that I’ve had a chance to play with Spaces I have some complaints. Two specific ones that really bother me, both dealing with application pinning. First, having application windows in more than one space. I generally have at least eight terminal windows (thank you iTerm) open in across several different desktops. When I tried to do the same thing in Spaces it would always open in the same desktop, the one where iTerm was first launched in. The “work around” is to open all of the iTerm windows that you want in one space and then go to the Spaces app (the view that shows you all of your desktops) and drag the terminal windows to the various spaces that you want to actually use them in. If for some reason you have to close one of them then you’ll have to go back to the original desktop that iTerm was launched in, create a new window, go back to the Spaces app and drag it back to where you want it. So it isn’t impossible to get around this behavior, but the method involved is really annoying.
My second gripe is one that I haven’t been able to work around at all. When you switch an application your are always automatically moved to the space that the app is in and it is given focus. The classic example of this for me is clicking on a link in an email which opens in Firefox. I generally will go and look at the site later, after getting through more email. Which means I want the link to open in Firefox, but be left in the same space as my email app. But I haven’t found a way to do this in Spaces, you will always be moved. What I’d like to see is that behavior being optional, perhaps only for apps that are assigned to a specific space.
So far I’m fine with everything else in Spaces, although a little pager on the desktop would be nice.
UPDATE 14 Feb 2008: This behavior can now be turned off in 10.5.2