I am struggling to configure my two monitors on X11.
I am using a Nvidia graphics card.
My plan is to use GDM to start i3. I enabled GDM and then configured i3 using home-manager. This way I can’t choose between Gnome and i3 in GDM but this is fine for me.
The problem is that I can’t figure out how to configure my two monitors using xrandr.
For debugging I logged in as another user and choose “Gnome using Xorg” in GDM. This way I could use Gnome’s system settings to configure the monitors.
Here is a screenshot. This is what I see on the bigger monitor (2) which is on the right of the smaller monitor (1). I am seeing the picture that should be displayed on the separate monitors on one monitor: The picture of monitor 1 is also displayed on monitor 2. The picture that should be displayed on monitor 2 is only partially visible (completely visible in the screenshot, not sure why)
Also mouse input doesn’t work correctly. The mouse coordinates are kind of shifted.
I don’t have this problem when I just switch the monitors: Move the smaller monitor to the right of the bigger one.
I am at my wits end and hope someone has a clue what is going on here.