Is there a way to move the current window to another desktop without using a mouse in OS X?

112

25

In OS X as I'm aware to move the current window to the next desktop, I'd click down on the title bar of the window to have it in move mode, and then while keeping the mouse button down, press Ctrl+ or Ctrl+. If you don't have a laptop, this may require three hands. Alternatively you can go into spaces and drag a window from one desktop to another.

Is there an easier way to do this, with the keyboard only (and two hands max)?

aryeh

Posted 2008-08-30T19:20:05.760

Reputation:

4it is 2019 and there is still no mouseless solution for that basic task – sousben – 2019-01-25T08:48:37.810

3

Yes, using SizeUp from Irradiated Software. Move windows around on a Mac with keyboard shortcuts and SizeUp

– jsejcksn – 2010-09-04T19:57:51.437

Answers

51

As of 10.7 you can activate "mission control" and then drag-n-drop your window to whatever desktop group.

enter image description here

See: OS X Mountain Lion: Work in multiple spaces

Jocke

Posted 2008-08-30T19:20:05.760

Reputation: 631

88The question specifically requests answers that don't require mousing. – jtheletter – 2015-09-09T17:22:55.387

1CTRL+UP works on a windows/generic keyboard to open mission control. – JPhi1618 – 2016-11-02T14:50:36.077

1Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:53:38.557

works on OSX 10.8.4 – AWrightIV – 2013-08-01T00:05:38.997

1@AWrightIV This has worked since Leopard. – Blacklight Shining – 2013-10-30T13:47:43.933

38

I think the best you can do is hold the window title bar with the mouse, then press Ctrl-1 (or 2, 3, 4, whatever). This requires using the mouse, but it's a little more convenient than other methods.

Jay Conrod

Posted 2008-08-30T19:20:05.760

Reputation: 4 382

Perfect, exactly what I was looking for – Kevin Hooke – 2016-05-28T02:30:47.693

on 2017 this still is a great alternative. Even when you need to use the mouse its a lot more convenient than the rest – mjsr – 2017-06-28T14:40:33.927

Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:53:31.180

6does not work on OSX 10.8.4 – AWrightIV – 2013-08-01T00:06:22.013

6@AWrightIV: It works on OSX 10.7. I'm not sure about 10.8 but you might have to enable the Ctrl-1 and Ctrl-2 shortcut key for switching desktops first under System Pref > Keyboard. That could be a reason for it not working. – lightalchemist – 2013-11-02T09:14:06.787

13

If you install "BetterTouchTool", you can create a keyboard/mouse/gesture shortcut to either:

  1. move application window to the other monitor,
  2. maximize application window to the other monitor.

Works really well! Plus, "BetterTouchTool" has tons of other nifty features that you may find useful. It's free.

user1183950

Posted 2008-08-30T19:20:05.760

Reputation: 149

I already use BetterTouchTool and thanks to this suggestion I mapped a keyboard shortcut that moves the current window from one monitor to the other. Thank you! – Robin Zimmermann – 2014-07-15T17:50:37.030

1BTT is great and has moved to a "pay what you want" license scheme, but is no longer totally free. – JPhi1618 – 2016-11-02T14:51:33.213

6BetterTouchTool is awesome, but the question is about moving to another *DESKTOP*, not another monitor! – iconoclast – 2017-03-10T22:53:01.123

9

Unfortunately, as of 10.5.4 at least, there is no way to do this using a keyboard shortcut only.

You can however do it using just the mouse, which also requires just one hand, by dragging the window to the edge of the screen. You can set more options for this using the Warp or Secrets preference panes (both free).

dF.

Posted 2008-08-30T19:20:05.760

Reputation: 261

works on OSX 10.8.4, but only if you've already created the other desktop – AWrightIV – 2013-08-01T00:08:09.460

4

It seems like Amethyst (https://github.com/ianyh/Amethyst) could switch application to any workspace.

user366376

Posted 2008-08-30T19:20:05.760

Reputation: 49

3

There is a tool called Zooom that will allow you to grab any part of a window to move it using a hotkey, and also similarly resize windows, again with a hotkey. This is very nice when moving from a linux wm to OS X, however I'm still wondering if just basic switching as in the question is available without additional software purchases.

aryeh

Posted 2008-08-30T19:20:05.760

Reputation:

3

Optimal Layout, an app I developed, lets you use keyboard commands to move, resize and change the Space of groups of windows.

Benedict Lowndes

Posted 2008-08-30T19:20:05.760

Reputation: 474

Wow, Optimal Layout looks awesome! One small criticism that I noticed immediately upon watching the demo video, though: you misspelled "focused": http://www.future-perfect.co.uk/grammartips/grammar-tip-focussed-focused.asp ... but I'm already in love with the app. Thanks for the tip.

– iconoclast – 2013-01-09T21:42:06.940

Wasn't the feature of changing spaces removed at some point? You could also change the description on Spacey's page. "only compatible with Mac OS X 10.6 Snow Leopard" could also be interpreted that it's not compatible with 10.5 and earlier.

– Lri – 2013-01-12T10:12:45.290

2

The easiest way to do this is to enable the shortcuts in settings to switch to the desktop of your choice as seen below. Once you've enabled it you can move the window of your choice by holding your mouse button and executing your shortcut.

enter image description here

Jonathan

Posted 2008-08-30T19:20:05.760

Reputation: 121

2again... this is not a MOUSELESS solution – iconoclast – 2019-03-13T19:53:12.697

Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:50:47.767

1

If you are using window manager not desktopg environment, you can do that by modifying keymap, function TakeToWorkspace or SendToWorkspace.

For example in fluxbox.

$vi ~/.fluxbox/keys
Super_L 1 :TakeToWorkspace 1
Super_L 2 :TakeToWorkspace 2
Super_L 3 :TakeToWorkspace 3
Super_L 4 :TakeToWorkspace 4
Super_L 5 :TakeToWorkspace 5
Super_L 6 :TakeToWorkspace 6
Super_L 7 :TakeToWorkspace 7

Will allow you to press "mac button" + workspace number and focused window will be taken to the right workspace.

okobaka

Posted 2008-08-30T19:20:05.760

Reputation: 305

you're saying that you can run Fluxbox on macOS instead of the Finder? – iconoclast – 2019-03-13T19:55:38.060

0

A. Control-Up, then drag the window to the TOP of the screen. Those are desktops. A fair bit harder to realize than Linux desktops; but, it works. Apple is trying to show you what is already on each desktop. B. The F3 button also activates Mission Control. Note: Use Control-side arrows to switch desktops

codeslapper

Posted 2008-08-30T19:20:05.760

Reputation: 11

Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:51:45.303

0

I use Amethyst to accomplish this. It has some really nice customizable shortcuts for window management.

amethyst settings screenshot

Amethyst is by default a tiling window manager, however, I disable all tiling in amethyst settings and only use it for the window management keyboard shortcuts. Probably overkill, but it works.

Ted Paulsen

Posted 2008-08-30T19:20:05.760

Reputation: 1

0

So for macOS 10.14.6 click on the apple menu and go to System Preferences and go to Mission Control click on Hot Corners in the bottom left corner of the window put Mission Control in one of the corners. Take your mouse up to the corner you assigned it to and it will separate the open windows on your desktop out pick what you want on a new desktop and drag it up to the top menu bar. Done you can create as many new desktops as the OS will support. Or swipe up with three fingers on your laptop and drag the application you want on the second desktop up to the top menu bar.

Don Davis

Posted 2008-08-30T19:20:05.760

Reputation: 1

Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:51:28.397

0

Since all other answers seem to be fine using the mouse in some way. I'll give my tip as well. If you have an Magic Mouse you can double tap with two fingers to launch the mission control.

enter image description here

Viktor Mellgren

Posted 2008-08-30T19:20:05.760

Reputation: 662

0

If you drag using the title bar and hold it against a border of the screen it should move after a few seconds (if there is a 'Space' for it to go to). Sure you have to use the mouse but there's no key commands involved.

ingh.am

Posted 2008-08-30T19:20:05.760

Reputation: 214

1I believe the OP finds key commands to be easier/faster than using the mouse. – jtheletter – 2015-09-09T17:24:42.117

Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:52:02.650

-2

So, trying all the bogus methods out there accidentally led me to the solution everyone's looking for:

Click and Hold the window you want to move. Hold the Ctrl button. Drag the window to the edge of the screen until it moves the window to a new desktop. Drop the window and release the Ctrl button. Boom. Done.

Alternately, you can use Mission Control to drag and drop apps onto the Desktop you want, but that's not the solution you're looking for. Move along.

DenJansen

Posted 2008-08-30T19:20:05.760

Reputation: 13

4Bogus: This answer requires mousing. – jtheletter – 2015-09-09T17:20:54.490

Mouseless... the question specifically requests a mouseless answer. – Lucio Mollinedo – 2019-11-27T16:52:12.110

1It's working for me without the control key...? Just click, drag, wait patiently. Not the easiest thing to do with a touchpad... – Merlyn Morgan-Graham – 2013-07-19T22:06:40.240

@MerlynMorgan-Graham I always keep drag lock enabled. It makes holding things like that much easier. – Blacklight Shining – 2013-10-30T13:48:53.093