Nvidia
1. sudo apt-get install nvidia-glx 1. sudo nvidia-glx-config enable
Note: If you wish to use these drivers and run the XMMS music player, you should be aware of [https://bugzilla.ubuntu.com/show_bug.cgi?id=1724 this bug]
Note: You can get around this bug by installing libmik.
Note (optional): If you are going to compile 3d applications, you will want to install the nvidia-glx-dev package
Note (optional): the nvidia-settings package provides a control panel to configure graphics card options such as gamma correction.
Notes
Edit: That script worked for me perfectly, but keep sure to have the right version of linux-restricted-modules installed (it must match the version of the running kernel).