[How-to] Make nVidia settings persistent and retain the settings in Ubuntu 9.10 Karmic Koala 2

Nvidia Proprietary Drivers need nvidia-settings to set screen resolution and change other settings. In previous versions of Ubuntu and in other distros to make them permanent (used in every session) you click the “Save to X configuration file”. From Karmic on there is no xorg.conf by default!

As a result, nvidia-settings is not able to save the settings and every time I logged in I had  to change the resolution (Phew!!!). Then Sathya helped me. He gave me a link from Ubuntu Forums. Then I did the following to fix the problem:

1. Press Crtl+Alt+F1 to go to tty1. (Crtl+Alt+F2 takes you to tty2 and so on. available till tty6).

2. You’ll be taken to a terminal. Press Crtl+Alt+F7 to return to the GUI screen. Now you need to kill Xserver from there. Type ‘/etc/init.d/gdm stop’ (use kdm in KDE).

3. If you are reading this and simultaneously following, you’ll lose this screen in this step. Now, type

sudo Xorg -configure

4. This gives an xorg.conf in your home directory. It would be named “xorg.conf.new”.

5. Take this file to “/etc/X11” and rename it ‘xorg.conf’.

6. Now click “Save to X configuration file” in nvidia-settings. Note that you need root permissions to do this.

7. Now your settings will be saved. Make a copy of that file back in your home directory, if needed, and rename it to “xorg.conf.new” (replacing the original).

8. You’re Done. Try logging off and back in.

If you enjoyed this post, make sure you subscribe to my RSS feed!

2 thoughts on “[How-to] Make nVidia settings persistent and retain the settings in Ubuntu 9.10 Karmic Koala

  1. Pingback: Sathya

  2. Reply Masroor Gilani Dec 19,2009 2:14 am

    I am a newbie but was still able to follow your instructions and got rid of this problem. This post was of a great help to me. Thanks a lot and keep up the good work, best regards

Leave a Reply