Ubuntu: Nvidia drivers seem to ignore customized xorg.conf in 13.10? How to configure?


I just upgraded from 13.04 to 13.10 and now I'm having a problem with the nvidia X server settings: the changes I make don't stay saved after I restart the X server.

I checked the xorg.conf (/etc/X11/xorg.conf) and it's ok but I think it's not being used. Did they move the xorg.conf file?


The xserver.configfile for Ubuntu 13.10 is located at /etc/X11/xorg.conf . You can change the Nvidia settings by using the nvidia-settings application from the Ubuntu Software Center. nvidia-settings is a graphical application for changing the Nvidia settings. To launch nvidia-settings search for nvidia in the Dash and click on the green icon that says NVIDIA X Server Settings.

enter image description here


I don't own Nvidia cards/chips anymore, but I found the following things:

  • Arch Wiki recommends saving the contents of your customized Nvidia xorg.conf in /etc/X11/xorg.conf.d/20-nvidia.conf. That sounds logical as I can see some configuration files in /usr/share/X11/xorg.conf.d/ on my 13.10 installations.

  • In a post on the Majaro Linux forums (a Ubuntu derivative) a user says he had to save the contents to /etc/X11/mhwd.d/nvidia.conf. MHWD is the Manjaro Hardware Detection. Probably not a solution for Ubuntu, but it may give a hint.

  • Rather unlikely but may be saving the contents to /etc/X11/Xsession.d/20_custom_nvidia-config or referencing them in a simple script there might work. See the manpage for Xsession.


Here is the temporal solution. https://bbs.archlinux.org/viewtopic.php?pid=1299520#p1299520

The problem is in .nvidia-settings-rc file in your home folder. As the link above suggests, you should:

  1. Change the settings to your liking, using the GUI as usual. Quit the GUI application to save your changes.
  2. Edit the config file (~/.nvidia-settings-rc) in a text editor to remove every mention of your machine's hostname. (Leave everything else just as it is, only remove the actual letters of the hostname.); and
  3. Write-protect the config file when you're finished.


It could be that lightdm is overriding you setting. See this answer here:


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »