Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 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/

share|improve this answer
1  
Hi there. I'm using 12.04 with Unity and Compiz (with "Put" enabled) and it seems to work. –  Jack Kelly Jul 17 '12 at 7:57
3  
It appears that "put" isn't installed in Ubuntu 12.10. To add it, install the "compiz-plugins" package. However, I can't get "put" to work on 12.10. –  Jack Kelly Oct 10 '12 at 8:34
7  
Sorry, my mistake: "put" does work on 12.10; it's just that you need to reboot after enabling it. So, to summarise, to install "put" on 12.10: first install CCSM and "compiz-plugins", then enable "put" as described by Marty, then reboot. –  Jack Kelly Oct 10 '12 at 8:43
1  
I don't have 12.10, but I think you can restart Compiz without needing to reboot (compiz --replace). –  Marty Fried Oct 10 '12 at 19:11
1  
This still works in 13.10. I just restarted compiz like you said. Thanks. –  isaaclw Jan 1 at 18:15
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.