Just to share my experience. First of all many thanks to tseliot for detailed HOWTO with nvidia! I have learned many things with it. And now, my experience: I used envy script and installed proprietary drivers instead nvidia-glx, but that drivers does not support 1280x800 resolution on GeForce 7300 256Mb. I tried everything nvidia-config options, forced ModeLine parameters, but without result. However, login screen worked fine, but after login my screen was automatically redirected to 1024x768. Now, seems to me I can write xorg.conf on some sheet of paper without looking at the screen After 4 days of , I uninstalled the proprietary drives, installed the restricted modules again and nvidia-glx, and now 1280x800 is working with the same "Screen" and "Monitor" options of the xorg.conf file. Thanks again to tseliot for howto!
If you want to install Nvidia driver with the nvidia installer (I've tried v.7667) and you use a kernel from Ubuntu Hoary or you compiled it from Hoary sources (or kernel.org sources), then just try this HOWTO.
If you have a kernel from Ubuntu Breezy then try this HOWTO:
http://www.ubuntuforums.org/showthread.php?t=52924 OR just look at point 2 of the problems section of THIS guide.
Make sure you graphic card is not among the ones which are NOT SUPPORTED by looking at the list you will find in the NOTES SECTION *
You need 7676 version only if you have Geforce 7800, otherwise is useless (and it has some bugs). If you haven't got this graphic card PLEASE try 7667, it's more stable.
Download the installer from this page according to your architecture (32bit or 64bit)
Before you start you have to make sure the following things are installed (see points "a","b","c"). If not, you can install them following these steps:
Open either Terminal or Konsole and type:
uname -r (this will tell you the name and version of the kernel you are using)
Open either Synaptic or Kynaptic
a) press the "Search" button and put "header" in the search field
you will see a list of files, find "linux-headers-the name you got from uname -r"
for example if your kernel is "2.6.10-5-386", the headers will be "linux-headers-2.6.10-5-386"