Citrix Client on Ubuntu 10, 64 Bit.

Unfortunately, there is no 64 Bit package for the Citrix client 11. So, it is a smaller challange to install the client using 32 bit libraries. There are a couple of nice tutorials on the net. The one which helped me most was the how to by I can has linux. Basically it describes, that one should download the current 32 Bit Linux client from the Citrix Download Page. After running the basic installation you’ll need to download the Motif 32Bit Libraries, extract its files using ar and copy its libs to /usr/lib32 on your Ubuntu system.

But I still had a few issues installing the client: A symbolic link called libXm.so.4 was missing in the first place. To fix that, I did the following:

cd /usr/lib32
sudo ln -s libXm.so.3.0.2 libXm.so.4

Now, I was able to start the client: /usr/lib/ICAClient/wfcmgr

Trouble connecting via SSL

But when I tried to connect to a SSL Host, the connection broke telling me that To fix this, 2 steps are required. Download the certification files. Now, move the files to /usr/lib/ICAClient/keystore/cacerts or whatever the installation directory of your client installation is.

After that, Citrix client and connecting SSL hosts worked like a charm.

Plug-ins for gedit: count results or compare files.

Well, after I could count words in a gedit document based on a selection I made, I decided to add another missing feature:

I needed a diff tool to compare two files that are currently opened in gedit. Unfortunately, gedit doesn’t come along with these kind of features. So, another plug-in was needed.

Meldlauncher

What it does? It simply starts the open source diff & merge tool Meld using two documents opened in gedit. That’s why I called it meldlauncher. Therefore, if you want to use meldlauncher, you will need to have Meld installed. On Ubuntu do something like this:

sudo apt-get install meld

If there are only two documents opened in gedit, meldlauncher will launch Meld and pass those two files to it. If there are more than two documents opened, meldlauncher will open a selection dialog from which you can easily choose the document to compare the current document with.

I moved both the counter plug-in and the meldlauncher plug-in to Github. Feel free to grab it from there:

http://github.com/mmuell23/mmuell23

Old Agfa Snapscan on Ubuntu 9.10.

This morning I tried to use may very old and almost antique scanner Agfa Snapscan e20 with my brand new Ubuntu 9.10 and xsane.

Surprise, surprise, it did not work. So, I started searching for a solution on Google, read myself through many boards and finally constructed this solution from all I read (and thought myself, of course *g*):

1. First of all you need the proprietary Windows driver of your Snapscan device. This can be found here.

2. The downloaded ZIP archive will contain a file called 2.0.0.9-e20.exe. You will need to extract all files from that exe to get a file called snap20.bin. But how do you do that? The file is not a self extracting ZIP archive. So, unzip does not work. In this case wine is your friend:

sudo apt-get install wine

Open the exe file with wine. Leave the initial screen open but do not follow the installation routine further on. Instead, copy the needed file from the temp directory of wine:

sudo cp ~/.wine/drive_c/windows/temp/Drivers/snap20.bin /etc/sane.d/

Now, close the installer.

3. Now edit the configuration file /etc/sane.d/snapscan.conf and add (or modify if present) that line:

firmware /etc/sane.d/snape20.bin

4. Start xsane and start scanning