Diagnosing the “Phantom Cursor” Issue on Your Mac

In this lifehack.org article there are some good pointers for addressing random movement issues with your mouse cursor.

In my case the mouse moved randomly – both when using the trackpad and an attached mouse (USB, Bluetooth. In particular the “option-click” option wouldn’t work. Google searches were pretty useless, finding articles on how to set up “right-click” functionality for those coming from the Windoze World.

What I found was the battery had was starting to leak internally and had a slight bulge on it. This was causing it to press upwards underneath the trackpad, causing it to constantly “think” it was being clicked on. Removing the battery solved the issue (and probably saved me from an expensive service if it had leaked any further!).

Hope this helps someone out there!


Getting WebSphere Application 7 Installed on Ubuntu 9.04

I needed to do some development and testing in IBM WebSphere Application Server 7.0, however I was unable to get the bugger installed in my development environment (on Mac OS X 1.6 … well it has only been out for a week ) VMWare Fusion had to come to the rescue.

Although IBM do not support Ubuntu 9.04 as a platform, I did mange to get it working eventually through the following steps:

  1. Install Ubuntu 9.0.4 as per normal; and let it update itself to include the most recent patches and updates.
  2. Add the Multiverse Repository through Add/Remove Programs.
  3. Install Sun’s latest JDK by following these steps (credit to Brian)
  4. sudo apt-get install sun-java6-jdk sun-java6-plugin
    update-java-alternatives -s java-6-sun

  5. Add the following to the top of the list in /etc/jvm (again, credit to Brian)
  6. /usr/lib/jvm/java-6-sun

  7. Because Ubuntu uses dash as its default shell instead of bash, this breaks WAS’ installation routine when it comes to setting up the domain profile. (It hangs for ages at 31% when executing the importConfigArchive script, and the fails silently, which is nice.) To fix this you need to relink back to bash (according to Graham, this actually fixes a number of third-party software installation issues):
  8. sudo -i
    cd /bin
    unlink sh
    ln -s /bin/bash sh

  9. Install the Linux build of IBM WebSphere Application Server 7.0 as normal via sudo ./launchpad.sh to the default /opt/IBM/WebSphere/AppServer directory.
  10. Because doing everything as root is not secure or cool – even for a development environment – sudo chown -hR the /opt/IBM directory to a dedicated appserver user.
  11. Make sure everything works by logging into the admin console via the First Steps , and finally do a sudo update-rc.d -f gdm remove to stop the automatic GUI when you reboot the machine/vmware image.

Job’s a good’un.