Shortcuts to move windows across multiple screens in Gnome

4

3

I've two screens next each other and I'm running Gnome (Metacity 2.22). I use Xinerama to setup resolution and position for the screens. Using OpenSuse 11.1.

I would like to use the keyboard to move windows from one screen to the other one. I found some apparently useful keys under gconf-editor:

* /apps/metacity/window_keybindings/move_to_side_n
* /apps/metacity/window_keybindings/move_to_side_e
* /apps/metacity/window_keybindings/move_to_side_w
* /apps/metacity/window_keybindings/move_to_side_s

I setup some bindings, but they seem not to work properly for all windows (for example, with Firefox or Thunderbird). Sometimes, the windows return to their original position when I press a key.

Do you have any other alternative to easily move windows across multiple screens (and possibly to tile them?). I would prefer to keep the Gnome window manager, not to switch to ratpoison or whatever else.

Roberto Aloi

Posted 2009-10-21T17:42:38.387

Reputation: 1 133

Answers

2

If your screens are on separate workspaces, you can use Shift + Ctrl + Alt and an arrow key in the specified direction you wish to move it.

John T

Posted 2009-10-21T17:42:38.387

Reputation: 149 037

This could be a solution. How can I map the two screens to different workspaces? – Roberto Aloi – 2009-10-23T09:16:30.547

Uncheck the "Mirror" checkbox in display preferences. – John T – 2009-10-23T13:20:35.687

0

You can use the compiz PUT plugins to set the keyboard shortcut for Put To Next Output

Natim

Posted 2009-10-21T17:42:38.387

Reputation: 1 531

0

If your bindings are working normally except under certain windows, this might mean that whatever window it is uses that binding for something else and is hijacking the shortcut. Try again by setting a different key combination, or disable the offending key combination in Firefox/whatever.

goldPseudo

Posted 2009-10-21T17:42:38.387

Reputation: 2 100

I actually think it must be something different. For example, with the terminal window, if I move into a different screen, then I maximize the window, the terminal goes back into the original screen. Then I need to move it back. It seems a bit awkward. My feeling is that the original position for maximize/minimize is somehow "cached" somewhere and it's not updated when using my key bindings. – Roberto Aloi – 2009-10-23T09:15:57.647