Ubuntu – Dual monitor applications opening on wrong monitor


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.

Best Answer

If you do not have CompizConfig, install it (you need it anyway).

sudo apt install -y compizconfig-settings-manager

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.

Related Question