Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I tried to install the graphics drivers for my nvidia geforce gt540m on ubuntu 13.04 64 bit. I tried following the instructions here: but it didn't work right and now the only desktop environment I can boot into is gnome fallback. (I have unity and cinnamon installed as well.) in unity metacity doesn't work anymore and in cinnamon it crashes and goes to fallback. I just want to get my system back to the way that it was and I was going to follow the following instructions to install the nvidia drivers :

Please advise how to fix my current problem and also if I should follow the instructions provided in the link or a different set of instructions. thanks in advance.

share|improve this question

If your machine is an Optimus technology one, using the bumblebee ppa is by far the easiest and most hassle free experience.

To undo the damage done, try:

sudo apt-get purge -remove nvidia*  

to remove all nvidia related drivers.

If you installed via the .run file, re-run the .run file using teh same method as installation, this time it will ask if you want to uninstall. Do so completely.

Once done, make sure the machine is now clean of previous nvidia and other related installs.

Once done, use the install method provided in That should work...

share|improve this answer

Try using:

sudo apt-get --purge autoremove nvidia-current  

Worked for me.

share|improve this answer
This and charlie answers are the same (relatively). – Braiam Feb 8 '14 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.