Author: digitaleagle

WebEx working again in Ubuntu 9.10-64bit!

It seems like this is the pattern with me and WebEx.  I tinker to get it working, I upgrade, it breaks, repeat.  Well, my most recent fling through this cycle started with a broken hard drive.  Actually, several things started it.  First, I originally thought my laptop had a 32-bit processor.  When I found out the new version of PeopleSoft requires a 64-bit OS, I did some research and found that it was actually a 64-bit processor.  Then, when I sent the laptop off to have the hard drive replaced, I figured that was the time to put 64-bit Ubuntu on it.

So, that is how it started, and then, I couldn’t get WebEx to work.  I got Eclipse to work on 64-bit Java, Java worked in the browser, and everything was fine.  I didn’t want to try to pull it all out and reinstall the 32-bit Java just to get WebEx working.  So, I decided to attempt to try to install the 64-bit and 32-bit versions side by side.  With some help, I got it to work:

Ubuntu Forums: 32-bit and 64-bit Firefox at the same time

The first step was installing Java.  It was pretty simple and straight forward.  I downloaded it from Sun’s website.  Essentially, you just extract it and set your environment variables to use it.  The path I chose was $HOME/bin/java.

Next, I found that you cannot use the 32-bit version of Java with the 64-bit version of Firefox.  Firefox throws out all of the 32-bit plugins with this message: “wrong ELF class”.    So, I installed Firefox by downloading it from Firefox’s website.  I extracted it to $HOME/bin/java/firefox.

The next key was linking the Java plugin in the path where Firefox would see it.  First, I linked the plugin into plugins directory:

ln -s $JAVA_HOME/lib/i386/libnpjp2.so libnpgp2.so

Once in the Firefox plugins directory, you have to make sure Firefox knows where the plugins directory is with the MOZ_PLUGIN_PATH variable.

So, to recap, I have:

  • Java installed at $HOME/bin/java
  • Firefox installed at $HOME/bin/java/firefox
  • Java pluing installed at $HOME/bin/java/firefox/plugins from $HOME/bin/java/jdk…/lib/i386/libnpjp2.so

Then, I created an environment script that sets all of the paths and variables to make it work:

#!/bin/sh
export PATH=~/bin/java/firefox:~/bin/java/jdk1.6.0_18/jre/bin/:~/bin/java/jdk1.6.0_18/bin/:$PATH
export JAVA_HOME=~/bin/java/jdk1.6.0_18/jre
export MOZ_PLUGIN_PATH=~/bin/java/firefox/plugins

Finally, I created a script to launch firefox:

#!/bin/bash

cd ~/bin/java
. ./env.sh
firefox --no-remote -P WebEx

And, it worked!

Olympics Moonlight Issue

I finally caught a screenshot of the warning message displayed when watching the Olympics with the Moonlight plugin:

moonlight

To my knowledge, everything still worked with no problem.  The quality of the video was not the greatest, but I did not compare it to Windows/Silverlight.

This message just kind of irritated me a little.  Why should I be handicapped in watching the Olympics just because I choose to run Linux on my computer?  It seems to me that they should choose a little less propriety technology that might be implemented on a wider range of systems.  What about HTML5 or Flash?  Those seem to have pretty good support now across more platforms, don’t they?

Hacking Gnome-RDP

The Gnome-RDP application has been very helpful to me in connecting to various remote machines.  So, I have been trying to contribute a few changes here and there.  Here is how I have been making my patches to contribute:

Step 1: Check out the Source Code

svn co https://gnome-rdp.svn.sourceforge.net/svnroot/gnome-rdp gnome-rdp

Step 2: Create a copy for comparing

cp -r gnome-rdp gnome-rdp-compare

Step 3: Compare and Copy my changes into what I checked out

meld previous/gnome-rdp-svn/branches/experimental gnome-rdp/branches/experimental/

Step 4: Create the patch

diff -Naur gnome-rdp-compare/branches/experimental/ gnome-rdp/branches/experimental/ > change.patch

Step 5: Publish the Patch

I created a new bug in the launchpad bug tracker, and I attached the patch there.

Here are the patches I have done so far:

I am most definitely welcome to suggestions for anything that I am doing wrong or could do easier.

Olympics in Linux

I went to watch the Olympics on my Linux laptop, and I didn’t have the correct plugin.  I found a post that pointed me to installing the Moonlight plugin.  It pointed to a website with both the download link and the installation instructions.  Now, I already had Mono installed from the repositories, but all I had to do was install the XPI addon for Firefox that I downloaded from the website.

Resources

Performance Problems with rdesktop

I have been having trouble with poor performance in my remote desktop connections using rdesktop.  I believe the problem lies in my Internet connection — the problem occurs when I have low bandwidth.

I tested with Windows, and it seems to perform better.  The thing that I finally noticed, is that performance is poor in both Windows and Linux.  The difference seems to be the cursor.  In Windows, it displays the local cursor and instead of the remote.  In Linux, it tries to display the cursor where the remote machine actually thinks it is.  When the remote machine is sluggish, you see the impact in the mouse in Linux because you feel it in the mouse movements.

I found something that helps:

UbuntuForums: Slow performance when connecting to Vista using rdesktop

The “-z” option is what made the difference for me.  From the Linux man pages, here is what that option does:

-z      Enable compression of the RDP datastream.

I am not sure this is a complete fix, and if anyone else has better suggestions, please comment.  This fix seems to treat the bandwidth problem rather than the mouse movements.

Ayatana Project

The other day, I ran across the Ayatana Project.  I guess that is the parent project for some of the applets at the top of the Ubuntu desktop.  The home for the project is here.

I noticed that they have a Evolution indicator.  A Thunderbird version might be nice, and a GMail version would be even better for me.

The indicator applet is what got me started looking at this project.  I currently have Empathy (allows me Google-Talk access) and Evolution in this applet.  I saw a question about Skype, which looked really great.  I would love to see what else they can put in here, like GMail, Skype, Facebook, etc.

Google Voice Latency Problem

I have been using Google Voice with Skype for a little while now, but I have been having quality problems.  There is a 1 to 2 second delay between the time a say something and the person on the other line hears it.  I thought maybe it was the Linux, PulseAudio, Skype combination, but I have since found the same thing happens when I use my home phone or my cell phone.

I found that I am not the only one who has the problem:

Google Voice Help Forum

As “Papa Bear” suggested, I sent feedback on my problem with this link.  I am trying to raise awarness of the problem now, but I am not sure what else I can do other than quit using it for the time being.  If anyone has any ideas for extra information, please let me know!

Workaround for Posting Pictures to Facebook

I have tried the Facebook export tool for F-Spot, but I couldn’t get it to work.  Thanks to rvf0068, I have a bug report link, and hopefully the bug gets fixed soon.  In the meantime, this is what I have found that works:

  1. Select in F-Spot the photos you want to upload.  I have been creating a Facebook tag and applying that to the pictures I want to share via Facebook.  Then, I can search for that tag and highlight all of them with the tag.
  2. Go to Photo > Export to > Folder …
  3. Choose a temporary folder as the destination
  4. Choose “Save the files only” for the Export Method
  5. Log into the Facebook
  6. Go to Profile, then Photos
  7. Create a new Album
  8. Using the Java Applet, browse to the temporary folder and upload those pictures.