I have a laptop with two external monitor attached, which i configure this way:
xrandr --output "DP-1" --auto --primary # external on Display-port primary
xrandr --output "HDMI-1" --right-of "DP-1" --auto # external on HDMI is secondary
xrandr --output "eDP-1" --off # bultin-in monitor off
Everything worked just fine until i’ve upgraded lubuntu to Ubuntu 22.04.1 LTS jammy, now every time the monitors go off for inactivity, they re-order and get back to default order, like doing a xrandr --auto (built-in goes back to primary and the other two gets re-ordered)
I’ve tried to fiddle with xsreensaver and screen management, to no avail.
Any idea why it started to act this way, and to stop it?
Could you trigger the problem and then share the tail end of your /var/log/syslog file (maybe the last 50 to 100 lines or so)? Maybe the problem’s source will show up there.