I have a normal PC-monitor as my main monitor that I use. Additionally, I also have my TV connected via a surround receiver. When I switch on my receiver if I for instance want to listen to some music, Ubuntu thinks that the TV (receiver) is now my main monitor and moves everything over to that monitor.
I miss a button that says "this is my main screen, keep everything here unless I specifically move something myself".
Is there any way to lock things into place and stop Ubuntu making assumptions about what I want? I'm on Ubuntu 16.04, but this has been a problem throughout at least the last three versions. Would love some help with this. Eternal gratitude :)
Screenshot with receiver OFF: Screenshot with receiver off
Screenshot with receiver ON: Screenshot with receiver ON:
I'm on Ubuntu 16.04 with everything stock as out of the box. Desktop environment stock (unity). Receiver is an Onkyo TX-NR3007, but I think that is irrelevant though. It has more to do with how Ubuntu handles newly detected screens.
What happens is that if I bypass the receiver and connect my computer directly to the TV, Ubuntu will always detect it and see it as connected, whether the TV is on or off, but with my receiver it is only detected as connected when the receiver is on. If I power off my receiver, Ubuntu will regard it as disconnected.
Without the receiver, the TV is always detected whether it is on or off, which helps Ubuntu remember which screens my windows (like Chrome) have been used in.
With the receiver, no connection is detected as long as it is off. Only when I power it on will it detect the HDMI as connected and then it will move all my open windows to that screen (which is what I don't want to happen).
Other OS's have built in a setting that says "primary monitor", which helps to lock windows to that screen regardless of whether any new screens are detected. If this is missing from the GUI, maybe there are some files that can be edited or something to create the same effect in Ubuntu?
I've had this problem since I started using Ubuntu (14.04) and I can see similar questions have been asked here without a proper solution: Is there any ability to set my primary monitor?
Is this something the developers should look at in the future?
It has been suggested to me that I need to make changes at system level, probably in the xorg.conf file. Anyone with knowledge in this area is encouraged to step forward :)