Archive for February, 2010

If nvidia-settings cannot save to xorg.conf, do this

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"
EndSection

save and close.

back to terminal:

sudo nvidia-settings

and save the file.