I'm writing a script that set ups multi-head configurations, it generates an
xorg.conf file and runs an
xrandr command to setup the displays.
This works fine until the computer reboots and logs back in, at some point the
~/.config/monitors.xml file overwrites my
xorg.conf changes. I don't particularly want to write my own
monitors.xml generator so I tried just deleting it before making my
xrandr changes, but, the
monitors.xml file appears to be auto-generated on reboot, and my settings get overridden anyway.
If I launch 'Display Settings' and click 'Apply' and save the configuration that generates a
monitors.xml file which is set up correctly, but it'd be a lot better if I could do that from a script. Is it possible?