BankID and Java plug-in in Firefox on Ubuntu Part 4

I have earlier tried to explain how to get around the Java related issues with BankID and Firefox on Ubuntu (1, 2, and 3). However, it seems that every new Ubuntu release introduce a change or two that forces us to fix something. BankID seems to require Sun‘s JRE. However, this JRE is not part of the standard repository (OpenJDK is). Below I’ll provide a short step-by-step guide to fix the problem in Ubuntu 10.04.

First, add a repository that contains Sun’s JRE. You may go to the Synaptic Package Manager and select “Settings->Repositories->Other software->Add” and paste the following: deb lucid partner, or type the following command into your console window:  sudo add-apt-repository “deb lucid partner”.

Second, you should now be able to install sun-java6-jre, sun-java6-fonts and sun-java6-plugin through either Synaptic or sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts.

Third, make sure that you remove the openjdk. In Synaptic remove openjdk-6-jre-lib and openjdk-6-jre.

Finally, set the sun-java6-jre to be your active jre by typing the following in your console: sudo update-alternatives –config java. Then select the right jre (/usr/lib/jvm/java-6-sun/jre/bin/java). It should most likely be “0”.

Pre E3 videos

It has been way, way to long since I posted something here. I have handed in my PhD thesis, I am about to defend it, and I have started a new job (more about this later). For these reasons, I have been quiet for way too long.

However, a few of the recent pre-E3 trailers have caught my attention and I wanted to share them. If you follow the gaming scene you have most likely seen them. If not, enjoy the folowing videos:

  1. Deus Ex Human Revolution
  2. Brink
  3. Tom Clancy’s Ghost Recon: Future Soldier

The Olympics: NRK, Linux, Firefox, and Silverlight/Moonlight

I have previously written about my efforts to see tv (NRK) over the Internet on Linux. While working on my thesis I had to watch a bit of the Olympics (as a distraction). Luckily, NRK streams most of the events over the Internet. Unfortunately, they have decided to use Silverlight version 3 to stream content from the Olympics.

This does not work right out of the box with Ubuntu. Thanks to Anders S. Lund I found the solution, which was to install an alpha version of Moonlight:

  1. Remove the Firefox-VLC plugin: “sudo apt-get remove mozilla-plugin-vlc”
  2. Remove previous versions of Moonlight: In Firefox goto Tools -> Add-ons -> Extensions
  3. Download the most recent version of Moonlight:
  4. In case of sluggish performance, turn of all effects by closing the browser and using the following command: “MOONLIGHT_OVERRIDES=effects=no firefox

See the following link for more information/troubleshooting.

MOONLIGHT_OVERRIDES=effects=no firefox

Installing Subclipse on Ubuntu using the repository version of Eclipse

When writing (LaTeX) and programming I normally use Eclipse. To backup the code and text I use Subversion and the Eclipse plug-in Subclipse. The Ubuntu repository has for a long time had a dated version of Eclipse. However, when I reinstalled one of my computers yesterday I saw that Eclipse 3.5.1 was available through the repository. However, this version came whitout Mylyn and GEF (two Eclipse frameworks required by Subclipse). So if you want to install Subclipse (, you have to install Mylyn ( and GEF ( In Eclipse, go to “Help”, “Install New Software” and paste the links to the links available in parenthesis, or go to the respective framework’s web pages and find the most recent release.

If you have problems setting up a SVN connection using Subclipse, I might have the solution, or if you want to know more about how to set up Eclipse as a LaTeX environment, check out one of my previous posts.

Blu-ray playback (sort of) comes to Linux

The lack of playback of Blu-ray movies has stopped me from installing a Linux distribution on my HTPC. However, according to a blog post from The Media Viking, this is now possible. It is still a bit cumbersome, but it seems better than the old recipe. I have personally not tested it yet, but I guess I will try when I have the time.

I hope this is a step towards native support for playback of Blu-ray movies on Linux. Actually, in my eyes I think we are better off without physical distribution of movies. I would love to see native support for Blu-rays, but even better would be digital high-quality services with a large library.