Linux music player with multiple artists support

Before I started using Linux at home I had been using Windows for couple of years. The music player I like on that platform most is Windows Media Player. It caused by it’s Contributing artists feature, which allows me to have multiple artists specified in the Artist IDv3 tag. In the music library I can add the Contributing artist view and play all tracks of an artist even those which comes from other albums.
I have been looking for the same functionality in Linux, but has not been successful for some time until I found music player called gmusicbrowser.
Currently it does not support splitting artists using the slash character ‘/’ which is used by Windows Media Player, but it can be easily modified as described by Quentin Sculo.
Edit file /usr/bin/gmusicbrowser using your favorite browser and find a line with the following comment:
#artist splitting
Locate end of the %split declaration and add the following line:
‘/’ => “Windows Media Player splitting”,
After you are finished with the changes, open gmusicbrowser again. Go to Miscellaneous Settings and specify Windows Media Player splitting in the combo. I also changed the layout to quodlibet-like, where the artists tab is easily accessible.

How to fix problem with displaying Czech characters (ěřž) in Opera

When I’ve installed Opera 10.63 on Debian (Lenny) I noticed some problems in rendering those characters even when typing text in textboxes on sites. I was playing with font settings in Opera, I have checked that Bitstream Vera Sans font is set anywhere possible, but still there was no success.
After some digging and playing with settings in Chrome, which was working good, I saw that it uses Arial and Times New Roman fonts which I did not have installed. It was strange, because when I clicked on the button to change the font it selected another one. But as I said in Chrome everything was ok, so I did not give that more attention.
Then after some more digging and looking for new fonts for debian I found out that there is msttcorefonts package available. This package contains basic fonts used in Windows. I don’t know why, but I have tried to install it. Then I went to Webpages tab in Opera Preferences and changed the fonts to be the same as in Chrome.
So as Normal font used Arial 16 and as Monospace font Courier New 13. Than I tried the pages that did not rendered good before and suddenly it worked like a charm!
I tried to change fonts in Opera back to default ones, but the problem did not appear again. I guess there is some hardcoded reference to those fonts in Opera, so installing msttcorefonts should be enough.

Quick steps to enable mod_rewrite in Linux apache2

Apache2 does not have mod_rewrite turned on by default. Fortunately there are just a few steps to get this functionality working.

First activate rewrite engine using the following command.

a2enmod rewrite

Then allow override in the site configuration file on Apache. In my case I am testing it on a development machine, so I will edit the main file

sudo gedit /etc/apache2/sites-enabled/default.

by changing AllowOverride from None to All.


<Directory /mnt/Personal/Web/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

At the end Restart apache2.

sudo /etc/init.d/apache2 restart

RoboForm Opera Button

0002-roboform-button-in-opera[7]
RoboForm is one the best password management programs. It is integrated with the today’s most favorite internet browsers. Unfortunately there is no integration with Opera yet. Nevertheless there is one more supported way how to use RoboForm, without actually having RoboForm installed. It is called RoboFrom Bookmarklet. Basically it is a javascript which is called on the current site using a bookmark in your browser. When the bookmark is clicked, a RoboForm HTML window appears directly in the current site allowing you to fill forms based on your Passcards – to use this feature you have to have your Passcards synchronized using RoboForm Online service.
After some time of using RoboForm Bookmarklet in the Opera browser, you may find out that this way is not much convenient. At least it would be good to have the bookmark directly in the Opera toolbar. And that’s exactly what the RoboForm Opera Button provides.
Below is a link to the installation file. Installation itself is divided into two steps, which is caused by the Opera’s customization architecture. First step is installation of the additional button image into the Opera’s standard skin. This is done using the installer. After the installation is done (note that after the installation finishes, there are no files left on your PC – just the button) a customization web site is displayed in the Opera. The web site contains a link which will allow you to place the button in the position on the toolbar that suits your needs best.
Download RoboForm Opera Button

MSBuild throws error MSB4025

Recently I came across issue with build of a .NET project using CruiseControl.net integration server. The problem was caused by change in msbuild task where MSBuild version 2.0.50727 was replaced by  version 4.0.30319. The whole error message looked like this:

The project file could not be loaded. Could not find file ‘Project.csproj.metaproj’.

Strange thing was, that the build was successful on the development machine without any problems. After some lingering digging I found an support ticket on Microsoft sites saying that there is a problem with MSBuild when passing global properties whose values contain “escapable characters”. These include $, @, (, ), %. In my case I used round brackets in the configuration name. After removing, build was successfully finished.

Migrating VMware machines with Windows into the VirtualBox environment

To tell the truth it is not migrating at all. VirtualBox – virtualization software developed by Oracle – has ability to work with multiple types of virtual hard disks including VMDK (developed by VMware) and VHD (developed by Microsoft). To import your existing virtual hard disk use Virtual Machine Manager under File menu of VirtualBox. Then click Add and browse for the correct file. Starting now the hard disk is prepared to be used in virtual machines from you VirtualBox profile. Creating new machine is very easy, just follow instructions in the New Virtual Machine Wizard.

During playing with virtual machines with Windows operating systems you could face a problem when first login into the system. Windows has a activation mechanism which depends on the actual hardware – meaning reactivation is necessary. You are not able to take you disk and place it to another computer. Sometimes you could even face problem running some programs or the whole system because previous drivers does not work in the new environment.

When important hardware is changed, Windows gives you 3 days of normal use to let you finish reactivation. But there is a problem when you have VMware Tools installed on the guest operating system. In this case you will see message similar to this: This copy of Windows must be activated with Microsoft before you can log on. If you click Yes and try to activate Windows over internet, you’ll find out that there is no internet connection available. I have spent a lot of time trying to remove drivers or VMware Tools using Safe Mode, but I was unsuccessful.

0001-windows-activation

 

The simplest solution is to open the machine using VMware (for the last time Smile) and uninstall VMware Tools from the guest OS. After that you are able to run the system under VirtualBox software and install necessary drivers to be able to reactivate windows over internet.

Of course you can use the other two methods to activate Windows, but that is not comfortable for me.

If you have time playing with VirtualBox machine settings and PC configuration, you can try to migrate machine without reactivation of Windows. For more information look at the article on page http://www.virtualbox.org/wiki/Migrate_Windows.