Primary display is not showing


I was using endeavourOS on my notebook for some time with a secondary display connected to the usb-c port. So I made it the default display. But now when I´m away from home. I can´t revert it back to my notebook display. After the grub init it goes to a black screen. Can only use it with the secondary display.
Anyone know how can I revert it back?

Depends on the laptop, some use keys Fn-F4 or Fn-F7.

I tried all keys, but remains in the blackscreen
My notebook is a Dell g3 3590 with i5 and a gtx 1650.

Can you try with the USB installer? Or any other distro?

Will do that when I get home, thanks

If you have Windows installed, could try that too.

Windows works normally