Upgrading to Ubuntu Oneiric

This post isn’t so much aimed at helping others (although maybe it will) as making my next upgrade easier. The intention is to add every tweak etc as I do them or remember them.

Here is what it looks like:

Unity on my dual monitor

Unity on my system

And here is the custom menu I made for the launcher:

Unity launcher menus

See 15 Things I Did After Installing New Ubuntu 11.10 Oneiric Ocelot for how to make those and lots, lots more.

Initial video problems resolved

To begin with, I couldn’t even boot into Unity or anything. I had to boot into recovery mode and clear the path in various ways. I can’t remember exactly what I did but it involved wiping existing video drivers so I could even boot into Ubuntu 2D.

Had to get into recovery mode and purge the existing drivers. IIRC the file system was treated as being read-only and I had to remount as step 1 (nice and quick) before I could successfully make the other changes from root.

sudo apt-get remove --purge nvidia* fglrx*

[SOLVED] Going back to 10.10, Oneiric is a bust for me

I probably wiped /etc/X11/xorg.conf as well.

Once into Ubuntu 2D I was able to add proprietary drivers for nVidia and some combination worked and I was able to get Unity 3D working.

Booting into correct system

Want grub (grub2) to load my main system, not the test version I put in a new partition:

sudo grub-install /dev/sda

To change other grub settings edit /etc/boot/grub:

sudo gedit /etc/boot/grub

then edit the line –

save the file, then run
“sudo update-grub”


Re-ordering icons on launcher

In Unity 3D just drag them to the right then up or down and back in. In Unity 2D, hold for two seconds, then you can drag them around (http://ubuntuforums.org/showthread.php?t=1709136).

Removing overlay scroll bars

sudo apt-get remove overlay-scrollbar liboverlay-scrollbar-0.1-0

Things To Tweak / Fix After Installing Ubuntu 11.04 Natty Narwhal

Adding the system load indicator

Network, Memory And CPU Usage Indicator For Ubuntu: System Load Indicator

Adding a memory load indicator (useful when running a virtual OS at same time)

Things To Tweak / Fix After Installing Ubuntu 11.04 Natty Narwhal

Restore debugging for Netbeans

sudo gedit /etc/php5/apache2/php.ini

Find php.ini using phpinfo() then edit it thus:



sudo gedit /etc/apache2/apache2.conf

ServerRoot "/etc/apache2"
ServerName localhost

See Xdebug restored on Lucid for Netbeans

sudo /etc/init.d/apache2 stop

sudo /etc/init.d/apache2 start

sudo gedit /etc/php5/conf.d/xdebug.ini

xdebug.ini was correct:


This folder did exist.

SQLyog problems

Managed to get the automated synchronisation working by deleting ~/.wine, reinstalling WINE, and reinstalling SQLyog (having saved

but the main system was flaky and crashed when displaying the results of a connection (amongst other things). The following gave a clue that WINE was involved: Mouse offset problem when using a WINE application maximized Downgraded from WINE 1.3 to 1.2 and the problems went away.

Also had to handle this when upgraded SQLyog: wine: cannot find L”C:\\windows\\system32\\plugplay.exe”. Fixed by making a copy of system.reg and wiping section on plugplay.

Adding an icon to the launcher involved the solution from How can I edit/create new launcher items in Unity by hand?

  • Right click your desktop
  • Select Create Launcher…
  • Create the custom Launcher as you want to.
  • Open your Home Folder. Press Ctrl + H to show hidden files if necessary.
  • Browse to .local/share/applications
  • Drag and drop your Launcher from Desktop to that folder.
  • Now drag and drop your launcher from .local/share/applications to the Launcher Bar on the left on your Screen.
  • You can now delete your custom Launcher on the Desktop if it’s still there.

DVD playback even if using CSS encryption

sudo /usr/share/doc/libdvdread4/install-css.sh

Making Dash Searches Better

Keep Files From Showing Up In Unity (Dash) Or Other Programs That Use Zeitgeist With Activity Log Manager

Misc Links