Linux – Getting Band-in-a-Box 2012 work with wine


i just wanted to use Band-in-a-Box 2012 on my Linux Laptop especially with wine because installing it in a virtual machine has a bunch of disadvantages.

For example because you have to load (and unload) a complete OS and in my case get my USB Audio Interface work IN the virtual machine.

So wine is the better option. But my past experiences with wine were not really good 😀

To simplify the complete process, i used Playonlinux. Playonlinux is a “framework” for wine installations.

Its script based, so if you use one of the scripts from the library, it chooses automaticly the best working  wine version, installs additional librarys and so on.

The downside is, that there is no script for BandinaBox 😀

Not cool, but also not dramatic. I used some informations from forums and also winehq.

So how we begin? (please excuse if the instructions are not 100% suitable, but i use it in german language, so the option names may differ a bit)


what do you need?:

  • working Playonlinux Installation
  • timidity++ package
  • A File from a working Windows Computer (doesnt matter which version), named “gm.dls”
  • You can find this file here: c:\windows\system32\drivers\gm.dls (or load it from my dropbox account: gm.dls)


  • Start Playonlinux, and click install new software.
  • Then you choose  Install a program what is not listed.
  • Choose Install a program in a new virtual drive
  • Give it a name
  • Choose install some librarys
  • Choose 32bit windows installation
  • Choose the “POL_Install_wmp9” library
  • Choose the Installation File, for BiaB2012: bandinabox_realband_2012_full.exe
  • Get through the installation.
  • Things you need to consider: Do the complete installation (its imported), as starter choose “bbw.exe”


So, you got it installed but it wont start.

  • You have to copy the gm.dls file to the “windows/system32/drivers” folder of the wine-prefix. Select the starter of your BiaB Installation and select “open a directory”

Okay, BiaB starts now but it wont play sounds 😀

  • The last step is starting timidity++ before you start BiaB.
  • Here is your command:

timidity -iA -Os -B2,8 &

Then you can start BiaB and it should play sounds and so on.

Gratz! 🙂

Archlinux – Set Vim Alias

On Archlinux, you got the problem that even if you install vim, you have to type vim to open files with vim.

But normally you want to type vi and open the file with vim – as you know from other distributions.

The solution is setting a symbolic link, but its easyer on arch.

Just install the vi-vim-symlink Package from AUR

Now you got your symlink even without logging out.

Scalar i6000 – Connect to the Webinterface

I got issues connecting to the Webinteface of our Scalar i6000.

Its java based and the problem is that it is designed for java version 1.6.

That means that if your’e using lets say java 1.8, there will be errors that prevents the execution of the applet.

So i found out that there are two main problems:

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance(
at sun.applet.AppletPanel.createApplet(
at sun.applet.AppletPanel.runLoader(
Caused by: access denied ("java.util.PropertyPermission" "user.home" "read")
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkPropertyAccess(
at java.lang.System.getProperty(
at com.adic.amc.lm.client.LM3Applet.(
... 9 more access denied ("" "setProperty.networkaddress.cache.ttl")
at java.lang.SecurityManager.checkPermission(
at java.lang.SecurityManager.checkSecurityAccess(
at com.adic.amc.lm.client.LM3Applet.init(

You see java has a problem with AccessControl of
“java.util.PropertyPermission” “user.home” “read”
and “” “setProperty.networkaddress.cache.ttl”

The solution is pretty simple.

Java has a file in which permissions are controlled. In my system (archlinux), its located here:


Maybe in your system the file can be located otherwhere, so just use find oder locate.

I made two entrys in the grant-section in it:

grant {
permission java.util.PropertyPermission "user.home", "read";

The the applet loads and you dont have to install a old java version 🙂

Xfce4 – Save Display Settings


Xfce4 is relatively good in dynamically setting your Display Settings if you use multiple Monitors or plugging in Beamers or so.

But sometimes it confuses the configuration.

Therefor you can save your settings if you copy the xml file where the options are written in and replace the confused config with the saved config.

you can find the configuration file here:


Copy the file to your preferred location.