I remember there used to be a setting under Compiz that set a keyboard shortcut for moving applications between physical (but combined as a single xscreen) screens, similar to moving between logical screens, like Ctrl-Alt-Shift- / / / .

Any way to do this under Unity?

  • 4
    Possible duplicate? - askubuntu.com/questions/22207/… – jrg May 24 '12 at 18:01
  • That is the Compiz setting I used to use. Was hoping that there was a way to do it under pure unity. – Andrew Bolster May 25 '12 at 10:08
  • 2
    All Unity is is a huge, big compiz plugin. – jrg May 25 '12 at 11:24
  • After playing around with keybinds for a while, I've been liking Super+X as a next-monitor keybind. (on a 2-monitor setup, that always just flips to the other monitor.) I can quickly hit it with one hand. (super = windows-key.) super+z might be even easier to hit, but it doesn't have the "x for exchange" mnemonic going for it. – Peter Cordes Apr 16 '15 at 19:39
  • I can't find this option in the Put plugin on Ubuntu 15.10. – Nordlöw Mar 21 '16 at 18:21
up vote 135 down vote accepted

As @jrg mentioned, this is still possible as Unity (Unity 3D, not the low-power 2D version) is largely built using Compiz.

You'll need to install the Compiz Config Settings Manager Yourself though. Precise steps are:-

  1. Install CompizConfig Settings Manager using apt-get install compizconfig-settings-manager compiz-plugins-extra.
  2. Run it (just type Compiz in the dash and you'll see it).
  3. Click Window Management.
  4. Enable the Put plug-in (select the check-box).
  5. Click on Put.
  6. Configure the shortcut for Put to next Output (click the pencil icon next to the keyboard shortcut for Put to next Output.
  7. Logout and login again for the changes to take effect (from the comments!)
  • 9
    requires a logoff, but yes, this works great! – Andrew Bolster Oct 24 '12 at 12:13
  • 3
    Could anyone elaborate on point 4? I've enabled "Put" successfully, but I don't understand how/where to set a shortcut for it? – user50849 Dec 7 '12 at 13:43
  • 6
    One problem (bug) with this. If you use "grid" to move (snap) a window into a corner of one screen for example, for whatever reason, when you try to move it to the other screen, it will move for a second, then bounce back to where it came from. If this window was unconstrained (not snapped to any grid boundary) then it moves fine. But if constrained at all it won't move properly. Somewhat annoying. :-/ – The111 Nov 22 '13 at 22:20
  • 7
    If you really don't want to log-off, you can hit Alt-F2 and execute compiz --replace – Armando Pérez Marqués May 21 '15 at 16:44
  • 2
    How do you set the shortcut (e.g., super+alt+right-arrow)? – joniba Nov 2 '15 at 9:33

This is based on my experience without the need for Compiz or any such utility.

When a window is activated (i.e. in-focus) If you press Alt + Space the top menu appears which has options like:

Minimize
Maximize
Move
Resize
etc.

Once that menu appears you need to press M key on your keyboard to select the Move option

Then you can just use the arrow keys to move the windows anywhere (even across monitors)

  • awesome, in Ubuntu 16.01 there is also a Move to monitor left option – azerafati Aug 9 at 6:26

Compiz Config Settings Manager's Put plug-in works great on 13.04 and 14.04

Special hint:

  • Click on Put -> Misc. Options -> Activate "Avoid Offscreen": Avoids putting parts of the moved window to a hidden area. Very useful if someone has got monitors with different display resolutions.
  • If you want to do this you can just press alt+f7, at least in 16.04 – Levi H Jul 26 at 15:16

Compiz put works great, just be carefull if grid is active (it usually is) you'll find a compatibility bug those windows that are already grit to some corner of your workspace will bounce back if you try to put them to another output.

If this happens to you don't panic, just do the following:

Before you send your window to the next output, "ungrid" it by semi-maximizing it to one side ctrl+super+lef or right and bam!, now you can send it and it wont spring back.

It works on both 12.04 and 14.04

( Now, who knows... maybe this is one of those cases where the responsible developer will protest "it's a feature not a bug!" xD )

  • This bug is really annoying and I use the same workaround but when developing it really drives me crazy as my IDE windows sometimes change monitors without warning because I've set them to another monitor, and clicked to minimize them without thinking about it – Cristiano Fontes Dec 5 '17 at 9:18
  • It is definitely super annoying, if I was a better C programmer I'd contribute to remove the bug, maybe another time. – JorgeArtware Dec 11 '17 at 2:41

protected by Community Mar 17 '16 at 4:06

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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