None of the above worked for me with my 3.5.0-21-generic headers and GeForce GT 440 video card. What DID work was downloading the latest linux driver from the nvidia website (version 310.19), and running the installer manually. This READ ME contains the installation instructions:
http://us.download.nvidia.com/XFree8...DME/index.html
Basically, I opened a terminal window, uninstalled the existing nvidia driver:
sudo apt-get remove --purge nvidia-current
Then I stopped the X server:
sudo service lightdm stop
Navigated to the folder into which I downloaded the nvidia file, and ran the installer:
sh NVIDIA-Linux-x86_64-310.19.run
Finally, I restarted X server:
sudo service lightdm start
And all was well with the world.
Bookmarks