90

I have always used Ctrl+Alt+Shift+Left/Right to move windows from left to right monitors.

Installed Ubuntu 18.04 last week (fresh install) and it appears that this is not working anymore despite the fact I had configured them like this in the Keyboard settings.

I'm guessing these shortcuts are already in use somewhere, but I have no clue where...
They are not listed in the Keyboard settings though and it does not indicate any kind of conflict.

Anyone knows how I can get this the way I want it ?


Edit:
So to be perfectly clear. I've set Ctrl+Alt+Shift+Left/Right > keyboard...
But when hitting the shortcut keys, nothing happens.

Kevin Bowen
  • 19,615
  • 55
  • 79
  • 83
dgoosens
  • 1,031

6 Answers6

157

In Ubuntu >= 18.04, the default hotkeys for moving windows to another monitor are Shift + Super + Arrow. Each arrow will correspond to the location of the destination monitor relative to where the focused window is.

Also, are you saying that you do not see a list of hotkeys in Settings > Devices > Keyboard?
I assume you are using gnome-control-center.

HenrikB
  • 251
hiigaran
  • 6,473
  • 4
  • 28
  • 40
  • I know about the default... BUT have been using Ctrl + Alt + Shift + Arrow for over 10 years and seems legitimate to be able to change these settings. Everything is fine in Settings > Devices > Keyboard... I've got my settings there... But the set shortcuts don't work – dgoosens May 07 '18 at 07:58
  • 2
    I see. So the problem is that gnome-control-center is not honouring your changes to the default hotkeys. What is returned when you do "dconf read /org/gnome/desktop/wm/keybindings/move-to-monitor-left"? – hiigaran May 07 '18 at 08:14
  • Cheers... This pointed me on the right direction. – dgoosens May 07 '18 at 08:48
  • 1
    ok the program moved, but the mouse cursor doesn't move with it. Still, it is taking the same effort like moving your program with the cursor. how to move the app along with cursor if anything like this is possible. – supernatural Feb 08 '20 at 18:19
  • thank you ! thats the second time i find this answer useful. i'd like to upvote it twice :D – cavalcantelucas Jan 29 '21 at 14:30
16

What also works is Alt+F7 to grab the window and then move it with the Arrow-keys and release it with Enter.

Kevin Bowen
  • 19,615
  • 55
  • 79
  • 83
Zlatan Zaric
  • 161
  • 1
  • 2
2

Thanks to @hiigaran's comment

I see. So the problem is that the gnome-control-center is not honoring your changes to the default hotkeys. What is returned when you do "dconf read /org/gnome/desktop/wm/keybindings/move-to-monitor-left"?

I checked out dconf. It appears my shortcut keys were, as I supposed, in use already for move window to workspace left/right

These settings do not appear in the keyboard settings though as there are no lateral workspaces anymore !!
I guess it is a bug that these actions, although no longer available, still have an assigned shortcut key.

I simply removed the set shortcut keys and everything it working again.

Kulfy
  • 17,696
dgoosens
  • 1,031
2

Move a window between monitors => supers + shift + ctrl + arrow up/down

Move a window between workspaces => supers + shift + arrow up/down

Move between workspaces => supers + ctrl + arrow up/down

Put a window at left/right half of screen => supers + ctrl + arrow left/right

Jehad Nasser
  • 121
  • 3
1

In unity: go to settings -> shortcuts -> windows and then change "Move window" accelerator.

0

In almost all window managers, not necessarily Ubuntu-specific, but works (On Linux, as well as Windows! Even as early as Windows 95!)

Alt-Space M to move window using the arrow keys. Press and hold down Shift while using the arrow keys to move window rapidly (to the other monitor or far side of the screen). Or nudge the mouse with a stick (filthy mice, don't want to touch them).

Press Enter to finalize the move.

hellork
  • 171