I found a way for me that it automatic change the display output when a HDMI cable is connectet and i do a reboot or a normal boot.
I just changed something in this file
/recalbox/share/system/recalbox.conf
I changed this
## Prefered external screen retrieved from ssh : xrandr
;system.externalscreen.prefered=
## Force selected external screen to resolution ex : 1920x1080
;system.externalscreen.forceresolution=
to this
## Prefered external screen retrieved from ssh : xrandr
system.externalscreen.prefered=HDMI2
## Force selected external screen to resolution ex : 1920x1080
system.externalscreen.forceresolution=1920x1080
This is working nice for me.
Maybe it will help someone
But i could not find the switch function
that is called in the changelog
("Add laptop switch external screen function only for x86_64 x86")