Change the delay when dragging windows within Spaces

Feb 10, 2010 - 7 Comments

spaces mac Spaces is a really nice feature of Mac OS X that lets you place different windows and applications within their own workspace. Dragging a window to a new Space is just a matter of holding onto the window and pulling it towards the end of the screen. You may have noticed that there’s a delay when dragging a window to a new space, which is handy for not accidentally dragging windows into a new Space but kind of annoying if you are expecting it to enter a new workspace instantly. The instant switching of workspaces is a lot closer to how these workspace managers, or ‘virtual desktops’ work in the Unix world, and if you have a background of using a Linux desktop you may miss that instant desktop switching. You can change the timing of Spaces switching rather easily though, using the Terminal.

Change the delay when dragging windows or applications within Spaces

Launch the Terminal and enter the following at the command line:

defaults write com.apple.dock workspaces-edge-delay -float 0.1

The number on the end represents the wait time, the default is set to 0.75 (or 3/4 of a second), so 0.5 is half a second, 0.1 is a tenth of a second, and so on. If you use the above command and 0.1 you’ll get a near instant switching of spaces.

If you want to revert to the default setting, just specify it as so:

defaults write com.apple.dock workspaces-edge-delay -float 0.75

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Bill Ellis in Command Line, Mac OS X, Tips & Tricks

7 Comments

» Comments RSS Feed

  1. Owen Imholte says:

    Just a note that if you want this to take effect (or play with settings to get the feel you want) right away you’ll have to follow it with:

    killall Dock

    which restarts the dock without logging out/in.

  2. Kevin Trumbull says:

    There’s a far simpler way to do this already.

    Grab a window with the mouse, like you’re going to drag it somewhere…

    While holding the mouse button down hit the number of the desktop you want the window moved to (1, 2, 3, or 4) and the control (ctrl) key at the same time.

    The desktop will instantly switch to the selected desktop number, and your window will now be on that desktop.

    I just did this by clicking and holding the mouse button down on the title bar of Firefox and hitting ctrl & 2 at the same time. This window is now on desktop #2.

    – Kevin

  3. Numpty says:

    @Kevin: You must have something else installed that’s doing that, because Spaces.app doesn’t do it on its own.

  4. keezy says:

    Thanks for the trick. Do you know how to set the delay for launching expose when clicking and holding mouse on an icon in the dock? in my opinion this delay is a little bit to long now.
    keezy

  5. [...] You can also speed up the Spaces transitions by adjusting the time it takes to drag windows between desktops. [...]

  6. old tip that doesnt work in Mountain Lion. )=

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates