3

I use two wide monitors for working and I find very useful using the edge screen for resizing and placing my windows (I just drag my windows to the left edge and it is resized and placed in the left half of the monitor)

This way I can visualize 4 windows at the same time which is great.

However I don't like having to manually resize the windows by dragging them to the desired edge.

I would really love if I can use a shortcut "eg Ctrl+[1,2,3,4]" to automatically resize and place the current window to the desired half of the monitor.

Eg: Ctrl + (1: 1st monitor left half, 2: left monitor right half, 3: right monitor left half, 4: right monitor right half).

Please tell me there is a way of doing this :)

  • 1
    Solutions posted in http://askubuntu.com/questions/116744/restore-the-ctrl-alt-num-pad-4-and-6-window-positioning-commands might help. Though not sure if it will work for multiple monitors (Here's more on that http://www.webupd8.org/2012/10/ubuntu-multi-monitor-tweaks-full-screen.html) – Ron Oct 13 '16 at 15:55
  • 1
    You might like this one: http://askubuntu.com/a/709417/72216 – Jacob Vlijm Oct 13 '16 at 20:22

1 Answers1

3

Such shortcuts already exist in default Ubuntu with Unity desktop:

  • Ctrl+Super+Right for right half of screen
  • Ctrl+Super+Left for left half of screen

They are part of compiz's grid plugin. If you find that these shortcuts stop working suddenly, install compizconfig-settings-manager and make sure you have grid checked.

enter image description here

Sergiy Kolodyazhnyy
  • 105,154
  • 20
  • 279
  • 497
  • Thanks. I'm actually not using Unity (XFCE instead) but there's a similar tool where I can assign a shortcut to place the windows in the left or right edge of the screen. However it only works for the screen where the window is. I cannot send the window to the other screen edges, unless I manually drag it. – Elerium115 Oct 14 '16 at 08:57
  • @SembeiNorimaki default functionality of all desktops is such that they work with one screen only. For future, please tag your questions with appropriate desktop tag – Sergiy Kolodyazhnyy Oct 14 '16 at 14:35
  • As for functionality of making it work with multiple screens, see the post Jacob suggested. Your question is thus a duplicate – Sergiy Kolodyazhnyy Oct 14 '16 at 14:37