Quickly place a window to another screen using only the keyboard

I know that using Alt+F7, I can use the keyboard to move the window around. I can also use the "Grid" plugin of Compiz to position quickly the window around my current monitor. The grid plugin doesn't seem work across monitor however.

What I need is a quicker way to move the current window to the other screen. In my current dual-monitor setup, I find myself needing to move the focus window to the other monitor as I focus on working on something else (and move it back afterward).

If I use XMonad (or other tiling managers), this would be rather easy. However, many applications that I use (Gnome Do, MATLAB, image viewers, custom apps that I write, ...) do not work well with a tiling manager.

So my question is: is there a shortcut key combination that moves the currently focused window to the other monitor (and back)?


  1. Install CompizConfig Settings Manager Install compizconfig-settings-manager

    sudo apt-get install compizconfig-settings-manager
    
  2. Run CCSM → Go to bottom (Window Management) → Go to "Put."

  3. Enable the plugin.
  4. Configure shortcut for "Put to next Output."
  5. Log out and back in again.

If the plugin put doesn't appear in CCSM, install the compiz-plugins Install compiz-plugins package. (sudo apt-get update && sudo apt-get install compiz-plugins)

EDIT: The required plugin package is now called compiz-plugins on 12.10 and higher. compiz-plugins-extra Install compiz-plugins-extra is still used for 12.04.


I like Put to next Output with Ctrl + Alt + n

enjoy it!

Put at CCSM Put at CCSM.

Put to Next Output Put to Next Output


On my machine (CentOS Linux 7) it worked out of the box:
Use window key+shift+arrows this will move window quickly between monitors Works on maximized as well as non maximized windows.