12

I see this question is "answered" by stating that there is no way to do this in GNOME: How to move windows around and between monitors, using keyboard short cuts? I have doubts that it should be impossible and I really want to do it.

Is there really no way to do this is Gnome? This is my output from xrandr that I don't know how to use:

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 3840 x 1200, current 3840 x 1200, maximum 3840 x 1200
default connected 3840x1200+0+0 0mm x 0mm
   3840x1200      50.0* 
Niklas Rosencrantz
  • 3,287
  • 8
  • 37
  • 56

1 Answers1

11

The following works for me (Ubuntu 12.10, Gnome Shell):

Ctrl + Alt + NUMPAD 6 moves the active window to the screen on the right

Ctrl + Alt + NUMPAD 4 moves the active window to the screen on the left

Note that, for some applications like Firefox and Thunderbird, this does not work for maximized windows for me -- the window seems to be moving, but only until I release the keys. This could be a bug in the corresponding applications or Gnome Shell. As a workaround, I unmaximize first using Ctrl + Alt + NUMPAD 5, and maximize back later with the same combination.

This is inspired by answers from How to move windows around and between monitors, using keyboard short cuts?.

EDIT: For some obscure reason these shortcuts stopped working for me. Super + NUMPAD 7 and Super + NUMPAD 9 achieve a similar effect.

krlmlr
  • 3,292
  • 4
  • 33
  • 55
  • That's good but did not work right away. I'm patching with the latest ubuntu updates to see what changes I can make to enable the functionality. – Niklas Rosencrantz Nov 28 '12 at 09:40
  • 1
    @NickRosencrantz: This is strange. I have scanned the list of my installed extensions, but didn't find anything suspicious. How would I find out who is responsible for handling the above key combinations in my system? Which Ubuntu version are you running? – krlmlr Nov 28 '12 at 10:25
  • I currently use the alt key and pull the window with the mouse. I use ubuntu `3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux` – Niklas Rosencrantz Mar 04 '13 at 13:44
  • @NickRosencrantz: Have you tried Ctrl+Alt+NUMPAD 5, Super + 7, Ctrl+Alt+NUMPAD 5? – krlmlr Mar 04 '13 at 14:16
  • 2
    None of the shortcuts are working :( – Yatharth Agarwal Mar 05 '13 at 12:52
  • This is to confirmed that this still works as of Ubuntu 15.04 running gnome-shell on a dual monitor. – Rick May 20 '15 at 14:46
  • It doesn't work with three monitors though, the middle monitor is ignored. – k0pernikus Nov 04 '15 at 14:14
  • 3
    On Fedora 24, I achieve this through Super + Shift + (arrow) – Waldir Leoncio Oct 12 '16 at 18:27
  • 1
    @WaldirLeoncio 's answer also [matches the most up voted answer](https://askubuntu.com/a/350287/8989) on the duplicate question – icc97 Jul 19 '18 at 08:54