Apr 20 2009

Finally music in Ubuntu 9.04

Category: Ubuntuadmin @ 4:11 pm

A while ago, I upgraded my Ubuntu from 8.10 to 9.04. Everything went smoothly and after the upgrade most of the applications seemed to run fine. One problem which I noticed almost immediately was caused by Amarok which was updated from the beautiful 1.4.x to the disappointing 2.0.

I wasn’t too happy with this change especially because a few months ago I tried an Amarok 2.0 snapshot, but I reversed to 1.4.x quickly because I wasn’t happy with the features it offered. I was even more upset when I noticed that Amarok would not play any of my music. Initially I thought that I do not have the necessary codecs installed, but this should not have been the case because I used to be able to play both mp3 and ogg files in the 1.4.x.. To make the situation even more confusing I was able to play online streams. After a bit of googling, I came across the MP3 support in Amarok 2 entry in the Amarok forum which suggested a few ways of addressing the problem. In my case all I had to do was:

  1. Install phonon-backend-xine package
  2. Start a terminal and run the systemsettings command to get the KDE control center
  3. Go to Multimedia -> Backend and selected Xine as backend
  4. Start Amarok and enjoy my music :)

Probably I should mention that I am using Gnome, not KDE. Maybe Kubuntu installs phonon-backend-xine automatically so this solution may not be useful for you.

For now, I am using Amarok as any other media player, but I hope in the new versions features that were removed in the 2.0 version will appear again.

Tags: ,


Aug 11 2008

Ubuntu Intrepid Alpha 3

Category: Ubuntu,computersadmin @ 10:28 pm

I have just decided to install Intrepid Ibex, the new version of Ubuntu. I am not sure what determined to do that. Probably because I had too much time :)

Given that it is an alpha version, I expected to find lots of bugs. Surprisingly enough, I had very few problems. On the down side there seem to be only a few new features for the desktop version … but I may be wrong and the features are well hidden and will become obvious later.

One of the first things I noticed in Evolution is that I can finally have my Exchange account enabled and the program does not freeze as soon as I try to compose an email. A few months ago, after a security upgrade, I was no longer able to keep my Exchange account enabled when I wanted to compose emails (from any type of account) and I found no workaround. Strangely enough the same version on the same distribution worked perfectly on a different computer. The sad news is that the current composer seems to have some kind of major bug which makes email writing a pain. See the images below:

Problem composing an HTML emailAfter one key is pressed the composer gets back to normal

The composer keeps going from one state to another every time when you press a key regardless whether you compose a plain text email or an HTML one. Being such an obvious bug, I would be surprised if it is not fixed in the next release.

A new feature of Evolution is the move to sqlite database for folder summaries. I did not notice big improvements in the search speed, but I did not have time to test it properly. During the initial migration I had problems due to the fact that I have over 2G of emails. Every time when I started the migration, Evolution allocated more and more memory till it crashed. The only way to complete the migration and access my emails was to move a big chunk of emails from .evolution folder and then after migration put them back. After that everything was fine, as evolution seems to build the missing summaries on fly.

Booting the system does not seem to be free of bugs. At times my computer refuses to start with the current kernel (2.6.26.5), but on the second or third attempt it does. A nice addition at booting time is the fact that now you know for which encrypted disk you have to enter the password. I have two encrypted disks in my computer, each with its own password, and in the past I had to know the order in which I have to enter the passwords. Now a clear message is displayed.

Currently it doesn’t seem to be possible to shut down the computer from Gnome. The only solution I found is to type halt in a terminal. I know that linux machines are well know for their massive uptimes, but removing the restart/halt option does not seem to be a good way to combat global warming (just kidding, there are shutdown and reboot buttons, it just that they don’t work yet).

The hyped new darker theme did not appeal to me at all so I switched back to my customised theme. There seem to be a new set of desktop icons which looks quite nice (but maybe I did not pay attention to them before). The flash plugin seems to bring down my Firefox more rarely, but it may be too early to know for sure. However, the other day I accessed a page with Flash (cannot remember which) and the plugin seemed ridiculously slow.

It’s too early to say whether Ubuntu Intrepid is a step forward, but I have to admit that for an alpha version is surprisingly robust. There are four days to go till the next alpha version is released. Let’s see what that version will bring.

Tags: ,


Feb 22 2008

Getting Netbeans to run on Ubuntu 8.04 (development version)

Category: Java,NetBeans,Ubuntuadmin @ 11:17 pm

I have recently updated my Linux to the development version of Ubuntu 8.04. Even though it is still alpha release it is surprisingly stable. However, it is not possible to start Netbeans (or any other Java application). If you want to run Java program you need to type the following:

export LIBXCB_ALLOW_SLOPPY_LOCK=true

in a terminal before you start the application from command line. If you do this, you still get an error like:

Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb3ed7767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb3ed78b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb3f2c29d]

but NetBeans seems to start without a problem.

(solution adapted from The Telarah Times)

Tags: ,