Trying to create a shortcut to take the active window and display it across two displays. Using the following only maximizes it on a single monitor:

wmctrl -r :ACTIVE: -e 0,0,0,1800,2300
  • 2
    This seems to be the fault of Compiz/Unity. It works nicely with LXDE. I as well am looking for a solution that prevents Compiz/Unity from "clipping" the window dimensions to one screen. The solution suggested here isn't an option. – Thomas W. Sep 21 '16 at 11:36
  • So essentially you want the window to stretch from monitor A to monitor B ? Just trying to make sure I understand correctly what you want. I can make a script that does it for you, should be fairly easy, and that can be bound to shortcut – Sergiy Kolodyazhnyy Oct 7 '16 at 5:55
  • OK, maybe not so easy . . . – Sergiy Kolodyazhnyy Oct 7 '16 at 6:26
  • duplicate off - askubuntu.com/questions/73573/… – Amias Oct 7 '16 at 12:27
  • @Amias As was said by ThomasW in the first comment, that post is not an answer. The bounty seeks alternative solution – Sergiy Kolodyazhnyy Oct 10 '16 at 3:13

Dual Monitors in Unity:

Hold your move-window modifier (it is alt by default) and drag the window from within the window's chrome (body) as opposed to the title bar (using your mouse).

  • 2
    I think the OP knows very well how to resize windows manually. This is about creating a keyboard shortcut. – Thomas W. Oct 10 '16 at 7:31

Right click on the DF taskbar and select Settings.

Click on the Functions tab on the left.

Scroll down and you will see Span Window Across all Monitors and the keyboard shortcut for it.

After you have spanned a window you can revert back by using the same shortcut.

You can change the shortcut if you want by double clicking on it.

  • 1
    This answer is very unclear - what is the DF taskbar?? After some research, the only plausible thing that came up was displayfusion, which apparently is Windows only. – Thomas W. Oct 10 '16 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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