Getting Nvidia-drivers to work on Ubuntu 12.10 – Quantal Quetzal

After installing Ubuntu 12.10 Quantal Quetzal on my development-machine i noticed that i wasn’t running on the Nvidia drivers for my GeForce GTX 560 Ti. And to make matters worse, the proprietary drivers didn’t work either. So i set out on a Google-hunt to find myself a solution.

It seems like there currently is a bug in 12.10 which caused the Nvidia drivers to fail. Regardless for which repository (ppa:xorg-edgers/ppa etc) you’re using and if you’re using the latest version (304.32).

Problems seem to be within the kernel, so you need to install the generic kernel including its headers. Then remove the current Nvidia-drivers and re-install them. Sounds complicated? It’s not, just run the commands below and reboot.

Edit: Notice that you need to do this each time there is a new kernel upgrade in Ubuntu. So currently you should replace linux-headers-3.5.0-17-generic with linux-headers-3.5.0-25-generic in the instructions below.

Jump over to a terminal
Ctrl-Alt-F1 and login as your username.

Install linux source and headers, make sure to use the current kernel version 
sudo apt-get install linux-source
sudo apt-get install linux-headers-3.5.0-17-generic

Uninstall nvidia driver
sudo apt-get remove nvidia-*

Reinstall nvidia driver
sudo apt-get install nvidia-current-updates

If it successfully installs, restart the computer
sudo shutdown -r now

This solved my problems with my GeForce GTX 560 Ti and i’m now running 12.10 in full GPU acceleration.


Changing font-size in Ubuntu 12.10 without MyUnity

Since MyUnity isn’t available yet in Ubuntu 12.10 Quantal Quetzal i though i’d write a quick update to my previous post which isn’t working on Ubuntu 12.10.

The process is fairly simple, just run the command below and adjust them to whatever your preferred settings are.

Just keep in mind to double-check that the fonts you’re using are indeed install. Otherwise you’ll end up in a world of hurt when you reboot.

gsettings set org.gnome.nautilus.desktop font "Ubuntu 10"
gsettings set org.gnome.desktop.wm.preferences titlebar-font "Ubuntu Bold 10"
gsettings set org.gnome.desktop.interface document-font-name "Ubuntu 10"
gsettings set org.gnome.desktop.interface font-name "Ubuntu 10"
gsettings set org.gnome.desktop.interface monospace-font-name "Ubuntu Mono 11"