30

In Gnome 3, moving windows with the keyboard shortcuts Meta+ and Meta+ can be convenient.

Now, I have two displays installed and would like to move windows across the displays without touching the mouse. More precisely, I would like to see what is the default behavior in Windows 7, namely four locations, left half of first screen, right half of first screen, left half of second screen, right half of second screen.

Any solution involving a sequence of multiple shortcuts is also appreciated.

Note that I am using only one desktop but multiple displays.

32

In Fedora 24 (which uses Gnome) the key combination Super + Shift + ← or Super + Shift + → moves windows between monitors by default.

If you play with Super + Cursor Keys and then use Super + Shift + Cursor Keys you should be able to move/minimise/maximise windows with ease.

  • 2
    Also works on Ubuntu 19.04. Seems to be default shortcut for Gnome Shell(?). – packoman May 6 at 12:40
11

First Option: You can use overview to drag the windows between monitors.

Second Option: You can set shortcuts for the keyboard to move it.

enter image description here

2

An OOTB key combination for Gnome 3 is Alt+F7, then you can use arrows to move the window. If it's not convenient, you can try Put Windows extension. I didn't manage to get a default key combination working, but changing it to Shift + Alt + ← and Shift + Alt + → worked for me.

1

This depends your version and configuration. The easiest is to open your preferences and keyboard. Click to Shortcuts and Navigation. So you can configure your shortcuts as you like.

The second method is when your side pane is open,then you can move your windows in the side pane from one to another.

The last method I know is to right click on the window title. Select the menu item you need.

  • 3
    In the system settings, no shortcuts are defined for moving windows between displays. When the side pane is open, it is not possible to move windows between displays using only the keyboard and not the mouse. – Max Flow Jan 27 '14 at 10:04
  • Well, then define your own shortcuts, or what's the question? – user55518 Jan 27 '14 at 12:01
  • @MaxFlow: FYI Gnome 3 for Debian Wheezy is missing the options, but Gnome 3 for Debian Jessie does have the options – Gabe Kopley Dec 21 '15 at 22:08
0

A further way of defining shortcuts for moving windows to other workspaces: use gsettings.

Here is an example for moving current window to the given worksspace (which involves switching to that workspace).

    gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-1 "['<mouse1>F1']" 
    gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-2 "['<mouse1>F2']"
    gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-3 "['<mouse1>F3']"
    gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-4 "['<mouse1>F4']"

One may define also other shortcuts and activities, of course. For a list of possible commands, see for instance https://gitlab.com/rubdos/gsettings-desktop-schemas/blob/dwt/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in

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.