Install NVidia drivers on Ubuntu 12.04

If you have an nvidia graphics card on your computer, the default Nvidia drivers installed when you install Ubuntu 12.04 on your desktop with the Nvidia graphics hardware, give a problem starting the GUI. Several AMD motherboards come with on-board NVidia graphics.

To overcome this problem, you need to install the 3 packages listed below:
nvidia-173_173.14.35-0ubuntu0.2_i386.deb
nvidia-settings_295.33-0ubuntu1_i386.deb
screen-resolution-extra_0.14ubuntu2_all.deb

Install them on your computer using the commands below:
$ sudo apt-get install nvidia-173 nvidia-settings screen-resolution-extra <enter>

Now restart your computer.