49

On MS Windows we can use Super + Arrow to move a window to the right and the left of the screen, maximize, minimize and even move it to another screen. Is there a way to configure this feature on Gnome?

2
  • 1
    I have kde and super + arrows moves to next monitor edge and to another screen. Commented Jul 16, 2012 at 12:58
  • I recommend you change the "correct answer" selection to Simon D's as it is most up to date and helpful these days. Commented Feb 1, 2018 at 22:23

7 Answers 7

37

In Ubuntu 17.10, the Shift+Super+Arrows keyboard shortcuts move the window between the different monitors.

Can be modified under Settings > Devices > Keyboard > Navigation > Move window one monitor up/down/to the left/to the right.

2
  • 5
    The same in Ubuntu Gnome 16.04. This is the up-to-date answer, the others are more or less outdated.
    – user47206
    Commented Nov 19, 2017 at 20:50
  • 1
    This works in Ubuntu 21.10
    – Flimm
    Commented Jan 3, 2022 at 10:25
26

The Put Windows extension implements this feature. After installing it, Super+Shift+Left and Super+Shift+Right move the active window to the previous/next screen, respectively -- just as in Windows. This works even in a three-monitor setup, and also moving maximized windows now works reliably.

Frychiko's solution works great in a two-monitor setting but suffers issues when moving maximized windows.

Tested with Ubuntu 13.04.

3
  • 1
    After installing, you need to use the gnome-shell-extension-prefs tool to configure the keys used (they don't show up in Keyboard settings). I didn't have that tool (I installed gnome-shell in Ubuntu), but apt-get install gnome-shell-extensions let me run "Tweak Tool".
    – idbrii
    Commented Aug 1, 2016 at 6:46
  • If you've set the monitors to be above each other then you need to use Super + Shift + Up/Down This also works on Fedora 28 (Gnome 3)
    – icc97
    Commented Jul 19, 2018 at 8:44
  • works on Fedora too
    – izy
    Commented Dec 8, 2021 at 11:01
18

Ctrl + Alt + NUMPAD 4 (left edge) Ctrl + Alt + NUMPAD 6 (right edge)

Make sure you are using the NUMPAD cursor keys, not the dedicated ones, if you have those. Otherwise, it'll switch workspaces.

Note that these shortcuts only work on non-maximized windows. Un-maximizing any selected window can be done using

Ctrl + Alt + NUMPAD 5 (center)

List of Unity keyboard shortcuts here in case you haven't seen them.

What are Unity's keyboard and mouse shortcuts?

6
  • 7
    It doesn't work on Gnome
    – Jader Dias
    Commented Apr 26, 2011 at 0:35
  • @Jader Dias In what way does what "not work" on Gnome?
    – ændrük
    Commented May 11, 2011 at 13:35
  • 3
    @ændrük In my understanding Unity keyboard shortcuts don't work on Gnome
    – Jader Dias
    Commented May 11, 2011 at 21:25
  • @JaderDias: But they do (at least these particular keys, in 12.10), and this is great! See askubuntu.com/a/222902/30266 for more detail.
    – krlmlr
    Commented Nov 28, 2012 at 8:38
  • 4
    These are great, I only recently discovered them. The one thing they don't do (which the OP asked for) is moving windows from one monitor to another. Commented Apr 26, 2016 at 19:27
16

ALT+F7 which select window and move using arrow. Press Enter to release the window.

7
  • 2
    Is a valid answer, but it doesn't achieve the desired behavior
    – Jader Dias
    Commented May 11, 2011 at 21:26
  • 2
    Additionally press SHIFT to move faster, or CTRL to move slower when using the arrow keys
    – Sam
    Commented Aug 17, 2014 at 8:20
  • 1
    For me, using 16.04, none of the other answers works for moving between monitors except this one (without installing an extension, which seems unnecessary).
    – user486425
    Commented Jul 13, 2016 at 12:04
  • 2
    Same here - this is a working solution for moving a window out of a dysfunctional monitor, caused by virtualbox.org/ticket/14743.
    – cslotty
    Commented Jan 23, 2017 at 13:26
  • that's so weird having to press a keyboard shortcut for such common task Commented Aug 10, 2022 at 17:47
1

Tested on Ubuntu 18.04 (Pop!_OS) with Gnome 3.28.2:

  • Moving window in current display: Ctrl + Super + Arrows

  • Moving window to other display: Ctrl + Shift + Super + Arrows

Edit:

The initial answer works (at least) for Pop!_OS 18.04 - the keyboard shourtcuts might be custom.

Later found this Gnome wiki page which states that it should be Shift + Super + Arrows Left/Right

2
0

Adding to Frychiko 's answer:

  • ctrl + alt + num_pad_5 maximizes and minimize window
  • ctrl + alt + num_pad_8 or num_pad_2 moves windows to the top and bottom edge respectively.

it's really easy to achieve this on laptops too - just add an fn key to your combination and you're done!

2
  • This doesn't answer the question as it only moves them within the current monitor and will not move them to a different monitor. Commented Mar 19, 2017 at 21:03
  • The original question was edited.
    – Merstzik
    Commented Mar 29, 2017 at 19:31
-1

By using Ctrl + Shift + Alt + Arrow combination, you can move any windows to the other screens.

4
  • In my installation it would move only windows between workspaces. When I say screens you should think in a multi-monitor setup.
    – Jader Dias
    Commented Apr 24, 2011 at 15:23
  • You should make it clear in your question that you don't mean workspaces.
    – Roddie
    Commented Apr 25, 2011 at 13:25
  • 5
    @Roddie He made that clear by using the word screens instead of workspaces.
    – ændrük
    Commented May 11, 2011 at 13:26
  • 1
    No, he hasn't made it clear, hence why someone has offered this very answer.
    – Roddie
    Commented May 13, 2011 at 20:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .