OBS Studio configuration of recording two monitors

I thought it was going depend on the Distro where OBS is installed in, I mention that because just to give you an example, I first installed OBS in Majaro GNOME and I wasn’t able to record the image of the principal monitor, it just recorded the audio and it showed a black screen, somewhere I read OBS is based on Xfce so now I know it works on Xfce, but Im a real beginner about this, thanks for responding.