xorg.conf changes from nvidia-setting have no effect after reboot

I recently installed 14.04, and found the exact same problem. I tried setting left and right screens in nvidia-settings manager but when I rebooted or restarted X they would switch back.

Searched a lot online, but couldn't find a solution, then I just went to the Displays options in Ubuntu System Settings or unity-control-center, set everything there, and voila, problem solved.

So the easiest thing to do is ignore nvidia-settings and use the displays option in the Ubuntu settings. At least in Ubuntu 14.04.


I had the same problem in Ubuntu 14.04. It turned out that xorg.conf was overridden by unity-control-center displays settings which are stored in ~/.config/monitors.xml.

Entering the desired settings into monitors.xml solved the issue for me.

  • <primary>no</primary> or <primary>yes</primary>
  • <x>0</x> means left screen, <x>1280</x> right screen where 1280 is width of the screen on the left.