If you really want to use Bumblebee I suggest you follow the guide from the Ubuntu wiki, the basic steps are:
- Enable the Universe and Multiverse repositories - you need to do
this to allow the bumblebee and nvidia packages respectively to be
installed.
- sudo apt-get install bumblebee bumblebee-nvidia primus
- linux-headers-generic Reboot
But I would advise you to use the nvidia-prime solution, it delivers better performance in my experience and you can still choose which graphics card you want to use, though switching cards will log you out and you have to log back in.
To install nvidia-prime do the following:
If you have previously installed bumblebee you have to get rid of it:
- sudo apt-get update
- sudo apt-get purge bumblebee*
Now install nvidia-prime and the latest drivers (if you don't have them already):
- sudo apt-get install nvidia-prime
- sudo apt-get install nvidia-340
That is how I got it working on my laptop. Additionally you can install a little indicator applet that will show you which graphics card you are using at the moment. To do this follow these steps:
- sudo add-apt-repository ppa:nilarimogard/webupd8
- sudo apt-get update
- sudo apt-get install prime-indicator
Now you should see a little indicator which shows which card is in use and you can click on it to switch.