I know questions like that have been asked many times but I can't find a way to solve my problem even after reading them and trying the answers.
I have two screens on my desktop. Whatever I set to the
/etc/X11/xorg.conf or to the
/usr/share/X11/xorg.conf.d/xorg.conf files, this is how my desktop looks like when I log in (which is wrong because the wallpaper should cover the whole background on the right side):
Then I start nvidia-settings and when I change from this:
and apply it, my desktop looks like this:
which makes absolutely no sense at all to me, because I haven't touched the main screen's resolution.
I can't find a way to make X11 remember to put the small screen on the right of the big neither, nor keep the big screen as the main screen. I have tried multiple configuration files including this:
Section "Screen" # Removed Option "nvidiaXineramaInfoOrder" "DFP-0" # Removed Option "metamodes" "DVI-I-2: nvidia-auto-select @1920x1080 +1280+0, DVI-I-1: nvidia-auto-select @1280x1024 +0+0" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "Stereo" "0" Option "nvidiaXineramaInfoOrder" "DFP-2" Option "metamodes" "CRT-0:nvidia-auto-select@1280x1024+1920+0,DFP-2:nvidia-auto-select@1920x1080+0+0" SubSection "Display" Depth 24 EndSubSection EndSection
This issue appeared when I switched to 13.10. I have just switched to 14.04 but it hasn't improved anything.
My GPU is an nvidia GTS 450.
Anyone has a clue on how to solve this please ?
Edit: Output of xrandr:
Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 16384 x 16384 DVI-I-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm 1280x1024 60.0*+ 75.0 1280x960 75.0 70.0 60.0 1152x864 75.0 70.0 60.0 1024x768 75.0 70.1 60.0 800x600 75.0 72.2 60.3 56.2 640x480 75.0 72.8 59.9 DVI-I-2 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 510mm x 290mm 1920x1080 59.9*+ 60.0 1680x1050 60.0 1280x1024 75.0 60.0 1152x864 75.0 1024x768 75.0 60.0 800x600 75.0 60.3 56.2 640x480 75.0 59.9 HDMI-0 disconnected (normal left inverted right x axis y axis) DVI-I-3 disconnected (normal left inverted right x axis y axis)
DVI-I-1 should be on the right, DVI-I-2 on the left. I have tried
Option "metamodes" "DVI-I-1: 1280x1024+1920+56, DVI-I-2: 1920x1080+0+0" in both
/usr/share/X11/xorg.conf.d/xorg.conf but the result is still the same at startup.