Ubuntu – Send or Move a window from one monitor to another with a shortcut key under Ubuntu 12.04 and nvidia 8600 GT without proprietary nvidia drivers

multiple-monitorsnvidiashortcut-keyswindow

I would like to know how to send or move a window from one monitor to another with a shortcut key under Ubuntu 12.04 and nvidia 8600 GT without proprietary nvidia drivers.

Now, I know I can configure keyboard shortcuts under the "system settings" and "keyboard" but move a window from one monitor to another is not one of the options. Specifically, I'm not interested in moving from one workspace to another, nor do I want to move among multiple windows of the same program. I want to take my gvim (or firefox) window and have it go from the left to right monitor (or vice versa) without having to use the mouse.

There must be a good way to do this, does anyone know?

Thank you, your help is very much appreciated!

Rick

NOTE: I'm avoiding using the proprietary (and ill-reputed) drivers for my nvidia 8600 GT. I did that under my first install of 12.04 and lost the ability to rotate the screens (I use both in portrait view) and couldn't get it back again, which forced me to reinstall 12.04. At this point I'm far enough along in setting things up nicely I don't want to have to reinstall again.

Best Answer

If you're using Compiz (used with Unity 3D), there is a nifty plugin that does exactly that, and also moves windows to different parts of the monitor, if desired.

I only know how to set it from CCSM (CompizConfig Settings Manager). You can install CCSM and the compiz plugins by running

sudo apt-get install compizconfig-settings-manager compiz-plugins

The CCSM plugin is called "Put", and is in the "Window Management" section of CCSM.

CCSM Window Management Page

Enable the "Put" plugin by checking it. Next click the "Put" plugin. You can set a shortcut key in the "bindings" tab for "Put to Next Output". By default, it's disabled, but is easy to set. In this example we've set "Put to Next Output" to Super+Right and "Put to Previous Output" to Super+Left.

CCSM Put Binding Tab

If you are not familiar with CCSM, you can get it from the standard repository, but be warned... it can be dangerous to play around with certain settings that you don't understand, so be careful. I've used it a lot over many versions, and can't live without it, but it allows you to chop off your foot if you're not paying attention. don't be too afraid, but don't think it will protect you from yourself.

More info on Compiz: http://wiki.compiz.org/

Related Question