Correct nvidia+intel graphics setup in 14.04

Before you proceed with the following please consider removing other nvidia drivers that might conflict.

For the latest proprietary Nvidia driver the following commands may be issued :

sudo apt-add-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings

For Nvidia Optimus technology (Nvidia+Intel) and the benefit of Bumblebee features the following must be issued :

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia

A final tip is to remember using optirun command in prefix of the 3D software command

optirun somegame-or-command

You can also test 3D with the following commands

glxspheres 
optirun glxspheres