Multiple screen setup with a laptop

One solution would be to make the 2 monitors.xml read-only with chmod, but it’s not elegant, and it will prevent me from using external screens…