2012
02.10

BankID is unfortunately pretty poorly supported on the Linux platform, or there are at least several issues with it. I have sorted out some of them before, but it seems the latest version of Firefox created some new issues. My problem was that when trying to use BankID the browser crashed when logging in (after entering the code from the code key). The solution was as explained below:

1. Remove any traces of OpenJDK. See one of my earlier posts.

2. Install Sun’s Java version 6 (I have written about this before, and there are plenty of guides out there on how to do this).

This could be enough. However, I had problems getting the Java plugin started when opening BankID. To sort this out, create a symlink to the Java plugin in a mozilla plugin folder using the following code (thanks to WebUP8):
mkdir -p ~/.mozilla/plugins
ln -s /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

Where the path (“/usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so”) depends on what JRE you have installed, and what CPU you have. I have an 64 bit AMD processor, and I have installed Sun’s JRE version 6.

The above is so far tested on only one computer. Please give feedback if you have tested it successfully yourself, or if you have further problems.

Share on Twitter
2012
01.30

I have had problems with the clock on one of my Ubuntu computers. The NTP (Network Time Protocol) service is supposed to take care of synchronizing the clock, and the GUI has settings for this. However, and but it did not work (Ubuntu 11.10), as the clock was constantly delayed.

The fix was simple, (re)installing the ntp package made sure that some of the missing dependencies was installed. I am pretty sure this has happened to me before, so it could be a useful tips to others. If your clock runs late, try the following (one may of course use Synaptic as well):

sudo apt-get install ntp

 

Share on Twitter
2011
08.28

A while back I started to back up my DVD collection using Linux (dvdbackup and Handbrake). For Blu-ray disks I have unfortunately not found any good solutions for Linux and only open source software. Therefore, this guide will show how you may back up your Blu-rays on the MS Windows platform, using AnyDVD HD, BDInfo, Eac3to (inkluding Eac3to and More GUI) and tsMuxer.

1. Backup disk and remove copy protection

AnyDVD HD

AnyDVD HD

AnyDVD HD does a good job removing the copy protection and backing up the disk to your hard drive. It is a proprietary piece of software, but I found that a lifetime license was worth the investment (about € 100).

Please note that removing copy protection may be illegal in some countries. In Norway (where I live) it is, to my best understanding, illegal to circumvent effective copy protection measures. As far as I see it, AnyDVD makes the copy protection on Blu-rays very ineffective. However, there are, to my knowledge, no court orders that defines what effective is. Removing the copy protection may therefore be in the gray area. Nevertheless, I strongly believe consumers should be able to back up their own DVDs and Blu-rays, and use software like XBMC to manage their media collection.

2. Identifying the movie streams

DBInfo

DBInfo

You may want to store the whole blu-ray with all its files and folders. I am however mainly interested in the main feature itself. To identify the stream(s) that contain(s) the movie I use BDInfo. The first and longest playlist normally contain the stream(s) that constitute the movie. The movie in the screenshot above was contained in only one stream (“00000.m2ts”). The streams are always located in the folder “[movie root]\BDMV\STREAM”.

If only one stream (.m2ts file) contains the whole movie, you may simply store this file where ever you like, and watch it with XBMC or any other viewer you’d like. If the movie is constituted of several streams you should use tsMuxer to join/append these streams in the order shown in BDInfo.

Please note that the .m2ts container does not contain subtitles and chapters. If you want this you could for instance use the mkv container. However, since I normally do not care about either, I just back up the .m2ts file.

3. Adding an AC3 sound track and removing unnecessary tracks (optional)

Eac3toAC3

Eac3toAC3

Some players are not able to decode DTS sound tracks. As a consequence of this I normally add an AC3 (Dolby Digital) track to my .m2ts containers. This is done by first encoding the DTS to AC3 using Eac3to.

tsMuxer

tsMuxer

Next, create a new .m2ts file by adding (muxing) the newly created .ac3 file to the .m2ts file from the blu-ray. This is done using tsMuxer.

While muxing the two files I normally remove tracks that I do not need. This may be languages, presentation graphics, or video tracks with lower resolution. To remove them, simply uncheck the tracks that you do not want.

Share on Twitter
2011
07.25

While working with realization of benefits from a project, it is important to remember that your goals should be SMART. I find the following to be a good guideline for stating better goals/benefits:

  • Specific
  • Measurable
  • Attainable
  • Relevant
  • Time-bound

Please also enjoy The Simpsons – I Am So Smart.

Share on Twitter
2011
05.29

I have previously written about getting BankID to work on a Linux/Ubuntu computer. Even though BankID worked on a fresh install of Ubuntu 11.04 with OpenJDK, it seems to work best with Sun’s Java implementation. This post will guide you through installing Sun’s JRE and removing OpenJDK.

First install Sun’s java implementation. I installed it from the 10.04 repository (lucid) using the following commands (or Synaptic Package Manager):

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

However, I am pretty sure using the 11.04 (natty) respository would work as well (Synaptic should already have an entry for partner software):

sudo add-apt-repository deb-src http://archive.canonical.com/ubuntu natty partner

Then remove all the packages concerning OpenJDK (my computers had six different packages). It is probably easier to find and remove the packages by using Synaptic.

Finally, select the java version to use by typing in the following command (pick the one saying “sun jre” and “auto”):

sudo update-alternatives --config java

I have tested the above on two different computers and it is working. If you have problems, leave me a comment and I’ll see if I can help.

Share on Twitter
  • RSS
  • Facebook
  • Google+
  • LinkedIn
  • Twitter
  • IMDb
  • Slider