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.