Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I would very much like to disable the sliding animation that occurs when switching desktops via ctrl+/ or ctrl+[number] in Lion. This was previously accomplished in previous versions with this command:

defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES && killall Dock

This new animation is even more slow than in Snow Leopard - nearly 1 second to switch - a real productivity killer.

Any help greatly appreciated!

share|improve this question
9  
For me, it's not so much the time, more that to be my most productive I switch desktops like a a crazy man, I find this new animation is making me feel sick... no need for the background and ALL desktop icons to move every time is there. will post back here if I find a solution. –  user8235 Jul 23 '11 at 11:05
4  
I agree with Rob, the animation creates the same feeling as being seasick. Just a way to make it faster or even remove that small bit of easing at the end would be good. –  Ryan Bigg Jul 25 '11 at 5:43
    
This is probably a situation where the problem is simply still too new. Over the course of time, I expect there to be numerous articles about this sort of thing and integration into the various "preference-changing" apps like Onyx. You may just have to wait a little while. –  Chris Pratt Jul 25 '11 at 15:28
1  
What a great thread! Thank you Samuel for the trick to enter Mission Control switch with zero lag! Amazing. I'm also patiently waiting for a way to turn off the space-switchin animation in Lion. It is utterly annoying. I can't understand why they had to make the desktop and menu bar move as well. It was much better in 10.6 when only the active app windows moved. Now that everything moves and is animated, it makes me very dizzy as I switch spaces constantly. At least using ctrl+number keys have a quicker animation than ctrl+arrow keys. But I would prefer to use the arrow keys. The way spaces wo –  user10898 Sep 10 '11 at 19:01
1  
Patiently waiting for spaces fix, still can't believe there isn't a solution. Absolutely loathe that animation. –  Gavin Gilmour Dec 18 '11 at 11:23
show 5 more comments

4 Answers

I dug deep into the app using GDB but the results were disappointing. I don't think there is a way to do this currently. Here's what I learned:

First you can change the speed of switching into Mission Control (still called Expose in the prefs). To do that just enter this command:

defaults write com.apple.dock expose-animation-duration -int 0; killall Dock

And to go back to defaults run this command:

defaults delete com.apple.dock expose-animation-duration; killall Dock

Secondly there's a reference in the binary to fps-spaceswitch (frames per second spaceswitch). I messed with this for a while and also tried variations on this such as spaceswitch-animation-duration without luck.

Unfortunately (at least as of 10.7.1) there does not appear to be a way to change any settings related to this animation.

I filled a bug for this with Apple. The Radar number is 10073864. I would encourage you to also file the report at https://bugreport.apple.com/. Note in your description that it is a duplicate of the above bug report number to help the support staff categorize and prioritize this bug.

share|improve this answer
5  
Instead of using an -int you can actually use a -float and set it to fractions. I set mine to 0.20, it is not nearly as jarring as setting it to 0 whereby it just flashes into place and sort of leaves an animation. –  X-Istence Sep 9 '11 at 7:36
    
Were you able to find anything that handled the Command-M - motion blur effect in Mission Control? I just stumbled on that - it might be causing unintentional grief if some people have accidentally enabled that <ahem> fine </ahem and clears throat again loudly for effect> piece of work. –  bmike Sep 13 '11 at 20:34
    
I am glad you looked into this, but I am sad that the bounty got awarded when we still don't have an answer. –  Sparr Jul 24 '12 at 20:14
3  
another work around is to use double-tap-jump-back to quickly switch back to the last space you were using. to enable: defaults write com.apple.dock double-tap-jump-back -bool TRUE;killall Dock From: cultofmac.com/133205/… –  Cam Aug 30 '12 at 19:32
    
@Cam thanks very much for sharing that. works great. "annoyingly" (since we can't figure out a real setting to use) it's a noticeably faster transition than all the other methods! it settles much more quickly than using ctrl-arrow. –  mh. Aug 31 '12 at 6:43
show 3 more comments

I've just noticed that doing ctrl+[number] is noticeably faster than ctrl+/ .

It's still animated but it does complete the animation in about half the time. I'm not sure if that helps but I'll throw that out there.

share|improve this answer
    
you, sir, win the internet. thankyou so much. another note is that when using ctrl + [number] it skips other desktops in between the current one and the [number]th one. –  jammypeach May 22 '12 at 15:24
    
Great, thanks. As I usually use two spaces at most, I have replaced the numbers for arrows and now it is at least faster. –  Harold Cavendish Aug 3 '12 at 19:08
11  
unfortunately ctrl+number can't switch to fullscreen apps –  Sparr Aug 7 '12 at 20:54
    
Ctrl+number works for full screen apps in 10.8.5 Note that you have to enable the Ctrl-number shortcuts in the System Preferences Keyboard panel and you can only do so for 1-4. –  Perry Feb 5 at 19:12
add comment

TotalSpaces has an option to disable the animation for changing spaces:

TotalSpaces is still in beta and a bit glitchy though. There's a small delay before changing spaces, and the whole screen seems to move a few pixels horizontally during the transition. Edit: both of those have now been fixed.

share|improve this answer
    
This app sure is promising - I hope more people find it and help shake out the remaining bugs. It's a really nice power user tool and solves a hole in window management if you come from other WM to Mac. –  bmike May 16 '12 at 19:29
    
This is awesome. The single row of space drove me crazy enough when lion came out that I briefly considered implementing something like this, but didn't get around to it. Here's to hoping it gets fixed in Mountain Lion but in the meantime, I'm shelling the $12 to register this app. –  Noah May 17 '12 at 1:56
    
The delay before reacting to a keypress is a deal breaker for me, but I'll be watching this app for better performance in the future. –  Sparr Jul 24 '12 at 19:55
    
I tried totalspaces. It works really well, when it works. It seems to get confused when I add/remove spaces, and it won't ctrl-rightarrow properly through all the spaces/fullscreen apps. –  Gattster Aug 9 '12 at 1:37
3  
@Sparr: (At least) in 0.11.0 you can eliminate the delay via TS's preferences by unchecking Use transitions in the Transitions tab and unchecking Show notification graphic on desktop change on the General tab. @Gattster: Make sure the layout settings on the Layout tab match the actual number of desktops defined and that Navigate right to additional full screen apps is checked. For full-screen app integration with multiple desktops, use the Advanced tab. NOTE: Whenever you change the number of desktops via Mission Control, you need do make corresponding changes in TotalSpaces. –  mklement Sep 11 '12 at 2:30
show 2 more comments

I noticed that it is possible to control the speed of the space-change animation when you use the Swipe gesture in OS X Lion. You can make the spaces change as fast, if not faster, than they did in Snow Leopard by doing a quick three-finger or four-finger swipe to the left or the right. Of course, it's definitely something to get accostomed to if you've always used +/.

This did get me thinking. Since it seems that changing spaces via arrow keys, number keys, and gestures all perform the same type of animation, there is likely a single system command that all three of these actions map to. Additionally, since they all perform the animation at a different speed, there must be a parameter that controls the animation speed. I'm not an OS X developer, so hopefully someone else with a better knowledge of the underlying functionality of OS X would be able to determine what system commands are actually running when the user performs a certain action.

share|improve this answer
1  
The finger swipe actually is faster when you swipe faster. It goes the same speed of your hand for the most part. Obviously this is an Apple knows best kind of decision - it feels natural until you use it for a long time and get sea sick! –  ktamlyn May 27 '13 at 13:06
add comment

protected by Community Sep 11 '11 at 4:57

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.