Monday, June 28, 2010

Reset Default Panel in Ubuntu

The other day I messed up my default panel. I found a simple way to reset this to the default.

  1. Delete the folder in your home directory that hold the panel. From a terminal prompt, issue: rm -r ~/.gconf/apps/panel.
  2. Log out and then back in
Surprise... The panel is back to the default.

Wednesday, June 2, 2010

Install Java on Ubuntu 10.04

After upgrading to Ubuntu 10.04, I noticed that Java was no longer accessible. Furthermore the manual installation methods do not seem to work, nor will the default repository install. Here's what I had to do to get it working with the Firefox plugin:
  1. Add the repository: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  2. Update the repository cache: sudo aptitude update
  3. Perform the install: sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin
  4. Restart Firefox
Now all is working.