Question

Is there a free app that I can use to move a window from one monitor to the other monitor (assuming only two monitors) via the keyboard? I shouldn't have to use the mouse at all (e.g., for selecting the window or the monitor, or for dragging).

I know this can be done in Linux using compiz; I'm surprised there isn't a (free) option for OS X.

Was it helpful?

Solution

I ended up using BetterTouchTool to do this. Overall I found it to be the most configurable. Here is a screenshot of my configuration, whereas Cmd+Ctrl+W moves a window to the next monitor.

If you have a 3 monitor setup (2 external monitors and the Mac monitor), you can set up the "Move Window to Next Monitor" to the right by doing the following:

  1. set up a new shortcut, specify "Move Window to Next Monitor" as the Predefined Action
  2. click Attach Additional Action and again specify "Move Window to Next Monitor" as the action
  3. Voila, you can now move a window to the monitor on the right (a little hacky I know, but it works until the developer of BTT updates the app)

BetterTouchTool keyboard configuration

The only shortcoming of BetterTouchTool is poor Lion support (not all features are available) but it is available as an alpha release. This specific keyboard shortcut should work fine in Lion with the stable version, I reckon.

OTHER TIPS

I just tried Spectacle, great app and it's free.

This is what it can do with the selected group of windows.

enter image description here

You need to activate accessibility support.

System Preferences > Accessibility > Enable access for assisted devices

As per comments: The accessibility option in Mavericks is now in

System Preferences > Security and Privacy > Privacy > Accessibility

enter image description here

enter image description here

Moom can do this. It is not free, but Moom is a fantastic window management app. It lets you assign keyboard shortcuts to a variety of windows movements (including move to other display) and gives you an overlay of the OS X standard window controls.

Here are some screenshots:

mouse usage keyboard usage

Here is a list of window management apps from another AskDifferent post, What Window Management Options exist for OS X?. The only free option is Shiftit, and I'm not sure if it offers the functionality you are looking for.

I was using ShiftIt for ages, but thought it didn't support dealing with multiple displays. So I started looking for alternatives. I installed Spectacles, changed the key bindings to be the same as ShiftIt's, and then when I wanted to deinstall ShiftIt, I found out it does actually support moving windows to different screens, using CtrlOptionCommandN

So I uninstalled Spectacles; still a happy ShiftIt user.

Just wanted to mention that there's a setting in System Preferences > Mission Control called "Group windows by application" that shows the app icons and allows you to drag the icon into another desktop/monitor. It's amazing for apps that have 10+ windows.

FYI, Magnet, the popular window placement/sizing application, has "Next Display" and "Previous Display" shortcuts right out of the box, at least in version 2.1 (Feb 14, 2017).

Magnet on the Mac App Store

Magnet's Website

BetterSnapTool also has this feature (as a shortcut). I think it was a free app, and its been a great one.

There is a shortcut where you can maximize the window in the next screen (among other shortcuts or ways of doing this). See the screenshot of the related shortcuts.

enter image description here

This open source app is simple easy to use and free. It will accomplish what you need.

https://www.spectacleapp.com/

This can also be done using the free, open-source tiling window manager Amethyst using the "Swap focused window to (counter-)clockwise screen" shortcut.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top