Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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)?

share|improve this question
Thanks, I was looking for the Alt-F7 shortcut. First time I find the answer I was looking for, in a question. –  qwertzguy Nov 19 '13 at 20:20

4 Answers 4

up vote 55 down vote accepted
  1. Install CompizConfig Settings Manager Install compizconfig-settings-manager

    apt-get install compizconfig-settings-manager
  2. Run it → 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.

share|improve this answer
It's also worth noting that "next" output will cycle through all of the monitors (not stopping on the furthest right). –  Adrian Schneider May 5 '12 at 3:12
I don't see the plug-in. Using Ubuntu QQ –  YatharthROCK Dec 20 '12 at 12:23
This didn't work for me, maybe because I'm using nvidia drivers? –  Flimm Sep 9 '13 at 10:57
Tried to set up "Put to adjacent viewport" — no luck. –  Michael Pankov Dec 27 '13 at 14:14
I enabled the Put extension but it's not working for me -- unlike the regular Compiz Grid commands. Ubuntu 14.04, Dell E7240, Apple Cinema Display. –  Paul Bissex Aug 1 '14 at 13:49

You should try "Put within viewport" and "Put Left/Put Right". If the window is not on the edge of the screen needs double "right/left" to switch over screens. By default is with super+Numpad-Arrows.

share|improve this answer
Not the most direct solution, but a better one in my opinion. –  Jonah Jan 12 at 19:11

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

share|improve this answer

Alt+Ctrl + NumLeft/NumRight

for minimised window only (!) I found today in Gnome 3 @ Ubuntu 14.04.

i.e., if you wan to move maximized window, you may

'Win + DownArrow', 'Alt+Ctrl+ NumLeft/NumRight', 'Win + UpArrow'

or try to bind it..

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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