Dual monitor / TV setup on gaming PC

I posted this in Community support, Geforce Graphics card, but someone suggested I ask here.

I get the sense that a TV is treated different from a regular monitor, and I guess this is the cause of the problem.

I built a Linux Debian Buster gaming computer with a nvidia geforce 710 graphics card.

All worked fine with 2 or 3 monitors at my Grandparents, where we built it.

Now I have it home, I have a 1280x1024 monitor and a 1280x720 TV.

I cannot control which screen goes to the right, in fact it always starts “monitor right of TV” (but I cannot physically place them like this :( )

When I use nvidia-settings to change, left/right, I can make it useable.

I cannot save those changes, when I try save the settings it comes up with an error saying

Failed to parse existing X config file '/home/pixel/.nvidia-settings-rc'!

When I look at the text ~/.nvidia-settings-rc there is no line including left or right - so if not set there, where?

Can anyone tell me the sort of way I might edit or add a line to ~/.nvidia-settings-rc ?

Or where else should I try to make a change. I tried to write an xorg.conf (there was no original) but nothing I wrote allowed the machine to boot into X !

Thanks in advance for any pointers.

I found this post,

and this location /var/log/Xorg.0.log.

I am sorry, I read this If you have a problem, PLEASE read this first after I moved my post from the Community support > Geforce Graphics card forum.

I will work on getting the log and writing a new xorg.conf and upate this tread.

I got it fixed with the link above, my machine wanted to use /usr/share/X11/xorg.conf.d, instead of xorg.conf.

# /usr/share/X11/xorg.conf.d/40-pixeltheo-tv.conf
Section "Monitor"
    Identifier "HDMI-0"
    Option "Primary" "true"
EndSection

Section "Monitor"
    Identifier "VGA-0"
    Option "LeftOf" "HDMI-0"  
EndSection