nvidia-settings cannot save to xorg.conf, apply this fix

If you’re using ubuntu and having trouble with nvidia-settings saving to the /etc/X11/xorg.conf file, you may find the following tip helpful in relieving that annoyance. Looking for something interesting when I login to one of my servers, I decided to whip up the following script I appended to my ~/.bashrc file.

close nvidia-settings

in terminal:

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo gedit /etc/X11/xorg.conf

paste the following:

Section “Device”
Identifier “Configured Video Device”
Driver “nvidia”

save and close.

back to terminal:

sudo nvidia-settings

and save the file.

Was this blog post helpful for you?

Support my blog and donate!

My blog is open to the public and will always be freely available. With your donation, we can help others learn, together.