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 am new to ubuntu, been using it for about a month now. I created this desktop for myth tv, and so i use a dual monitor configuration(one monitor for watching shows, and one for everything else). But because i dont have the tuner(yet) i am just using hulu desktop and some video files that i already have. The problem is that when i open some applications, such as firefox, they open on the monitor that is playing the video. Sometimes they even open up behind the video application. Is there a way to stick applications to a certain monitor, so that it will always open up on that application?

I was going to post an image of the display configure screen, but i am to new to post images. If you need to see an image of it let me know and i will email it to you. the image just showed my two screens, a 20" on the right, and one known as unknown on the left. The "Same image in all monitors" button is not checked.

The samsung is the monitor i want it to open on, and the unknown is the tv that i watch the videos on. Firefox in particular always opens up on the tv whenever it was closed while maximized, and opens on the screen it was closed on when it was closed while not maximized. This is the biggest annoyance that i have with ubuntu. I am coming to ubuntu from mac, and have basic to mid-level terminal experience.

share|improve this question

9 Answers 9

Had a similar problem and found the following:

Right Click on the window titlebar and select: More Actions -▸ Window Manager Settings. There choose Focus in the column to the left. Toggle option Active screen follows mouse.

If no other defaults are specified, windows appear on the currently active screen. With the procedure described above, mouse position defines this active screen.

share|improve this answer

I fixed it by using compiz-config-manager. install using

sudo apt-get install compizconfig-settings-manager

Go to General > General Options > Display Settings

Set Overlapping Output Handling to whatever display you'd prefer (the smaller or the bigger, not sure what to do when you have equally sized monitors?).

Also correctly setting the Outputs text field with your respective screen resolutions seemed to help in placing the windows better.

share|improve this answer

None of the previous answers worked for me, but upgrading Ubuntu to 13.04 finally solved the problem!

I still use the 'CompizConfig Settings Manager' which is maybe needed to solve the problem together with Ubtuntu 13.04.

This is what I did:

Upgrade Ubuntu to 13.04 (open the 'Software Updater' or use the following command):

sudo apt-get update && sudo apt-get dist-upgrade

Install and configure 'CompizConfig Settings Manager' (General Options > Display Settings):

sudo apt-get install compizconfig-settings-manager
share|improve this answer

fixed it by using compiz-config-manager. install using sudo apt-get install compizconfig-settings-manager

Go to General > General Options > Display Settings

Set Overlapping Output Handling to whatever display you'd prefer (the smaller or the bigger, not sure what to do when you have equally sized monitors?)

That worked for me thanks!

share|improve this answer
    
Welcome to Ask Ubuntu! Please don't add 'thanks' as answers. Invest some time in the site and you will gain sufficient privileges to upvote answers you like, which is the Ask Ubuntu way of saying thank you. –  Seth Apr 14 '13 at 18:20

If you do not have CompizConfig, install it (you need it anyway). Go to CompizConfig Settings Manager > Window Management > Place Windows (make sure that this plugin is checked). Under the General tab you see the option Multi Output Mode. You have options like: Use Active Output Device, or Use Output Device with Pointer etc.

share|improve this answer
    
Only none of those options are any good. –  momo Dec 5 at 22:10

I have been fighting this for a week. In System->Preferences select Monitors. Check "Show Monitors in Panel" then click on the monitor you want as default and hit the "Make Default" button. Log out and back in and there you go.

I've tried this a few times and it never took until I checked the "Show Monitors in Panel" box.

share|improve this answer
    
why I can not find Show Monitors in Panel chceck box which version of ubuntu do you use? –  Medya Dec 9 '12 at 21:14

Another choice is to use devilspie. You can get Devilspie from the Universe repository.

share|improve this answer

Something similar to this happened to me a while back. Try going to System > Preferences > Monitors. Make sure that the main monitor (your working monitor) is to the left and not the right. If the two monitors are different resoutions make sure that they both align at the top. I noticed this with my setup a couple months ago when I installed a monitor that was using a resolution way higher than my working monitor.

That's what fixed it for me, might work for you too.

share|improve this answer

I believe (if you have compiz enabled) that you can do this from the compiz settings manager using the place windows plugin. I've not done this myself, but if you play around a bit with the options you should be able to get the window to appear on the desired monitor.

share|improve this answer
    
I just tried this in 12.04 and it had no effect at all, with any combination of the options. Ugh, wish this were easier. –  Tom Brossman Sep 11 '12 at 19:31

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.