Check the name of the active displays.
xrandr
Sampleoutput:
eDP-1 connected primary …
→ primary monitorHDMI-1 connected …
→ secondary monitorxrandr --output HDMI-1 --same-as eDPA-1
Replace the display names acording to your system.
Add the xrandr …
command to the 'Startup Applications'