Archive for the ‘Ubuntu’ Category

HOWTO Get Eclipse 3.4 (Ganymede) Running (on Linux)

Friday, August 22nd, 2008

Eclipse 3.4 (Ganymede) was released a few months ago.

I have been working on the studio project on my laptop, using Eclipse (3.3 Europa) along with the Aptana plugin, RadRails plugin and Subclipse plugin.

The version of Eclipse that is in Hardy Heron’s repository is 3.2.2 or so, which is a few versions behind. So I decided, instead of installing from the repository, I should really install the latest available version.

Eclipse Ganymede comes in many different packages, and each package has downloads for different operating systems (namely Windows, Mac OS X, Linux 32bit, Linux 64bit). Since I am installing on my desktop (Ubuntu), I chose Eclipse Classic 3.4 (151 MB) (Linux 32bit).

After the download completed, I extracted it to /home/hantu/development/:

mv eclipse-SDK-3.4-linux-gtk.tar.gz ~/development
tar xvf eclipse-SDK-3.4-linux-gtk.tar.gz

Note: Initially, I wanted to install it under /opt/, but there is an issue regarding the file permission which I am not able to figure out. Something along the lines of .filetablelock Permission Denied. I’ll figure this out eventually, someday..

Surprisingly, Eclipse just works!

Next, without repeating what others have already documented, install Aptana Studio as a plugin of Eclipse. Don’t forget to install the Ruby on Rails support from Aptana’s Start Page (Help -> Aptana Studio Start Page…).

Subclipse is a plugin to work with SVN, instead of the default CVS support of Eclipse. Subclipse might not work with Eclipse 3.4, but I followed the instructions offered by a good man, so far, things are working perfectly.

More notes: I said ‘on Linux’ because I assume it is the same, for different distros, since downloading from Eclipse’s website does not require you to compile from source. Correct me if I am wrong.

VirtualBox Kernel Driver Not Installed

Friday, August 8th, 2008

Remember my previous posts about installing VirtualBox on Ubuntu Hardy Heron?

It has been a while since I last played with it, due to other commitments. So, I wanted to install Windows XP on VirtualBox, and I stumbled across this error: VirtualBox kernel driver not installed.

Not sure what went wrong, could be some updates in between broke it, if anyone know the exact reason for this, let me know.

To fix, follow the instruction:

sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module
*  done.
* Recompiling VirtualBox kernel module
*  done.
* Starting VirtualBox kernel module
*  done.

And I tried to start my VM again, it works.

Installing Gnome Do

Thursday, June 26th, 2008

I have been using Quicksilver on my MacBook for a couple of months now, kinda used to it now since I can launch applications and do most of the daily tasks without having to point-and-click too much.

What if you want something similar that runs on your Linux system? Ladies and gentlemen, say hello to Gnome Do.

gnome-do.png

To install it, add the following PPA repositories into your sources list:

deb http://ppa.launchpad.net/do-core/ubuntu hardy main
deb-src http://ppa.launchpad.net/do-core/ubuntu hardy main

Reload Synaptic, then search for Gnome-Do. If you are a CLI guy, do this:

sudo apt-get update
sudo apt-get install gnome-do

When installed, you can Gnome-Do from Applications > Accessories > Gnome Do.

The default hotkey is <Super>-Space, you can easily edit this from Gnome-Do’s Preferences. There’s also easy access to all the official/third-party plugins from the Preferences dialog.

gnome-do-prefs.png

A few plugins that I find useful:

  • Files and Folders: indexes files in your specified directories.
  • Flickr: upload photos to Flickr
  • GNOME Dictionary: add ‘define’ function to Do
  • GNOME Screenshot: take screenshots of whole screen or current window, with delay
  • Twitter: tweet from Do!

Ubuntu Live 2008 Cancelled

Wednesday, May 21st, 2008

In case you haven’t heard, it is cancelled. Not sure why though.

OpenSolaris 2008.05 on VirtualBox 1.6.0

Thursday, May 15th, 2008

Refer to my previous post on how to get VirtualBox 1.6.0 running on Ubuntu 8.04.

According to Ubuntu Unleashed [1], to enable VirtualBox’s USB support, modify your /etc/init.d/mountdevsubfs.sh, uncomment the last four lines:

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb

I have downloaded the ISO of OpenSolaris 2008.05. The details of how to create a virtual machine with an ISO can be found here.

Running OpenSolaris as a LiveCD:

OpenSolaris as LiveCD (VirtualBox 1.6.0)

Installing to Virtual Hard Drive:

OpenSolaris Installing to Virtual Hard Drive (VirtualBox 1.6.0)

Boot into OpenSolaris from VirtualBox:

Boot into OpenSolaris (VirtualBox 1.6.0)

It is recommended that we install the Guest Additions after booting into your Guest OS. From menubar, Devices > Install Guest Additions…

The Guest Additions ISO will be mounted automatically, open up a terminal:

cd /media/VBOXADDITIONS_1.6.0_30421/
pkgadd -d ./VBoxSolarisAdditions.pkg

A few differences that I noticed after installing the Guest Additions:

  • Better mouse sharing, I don’t have to click in the Virtual OS window to move the mouse focus into the virtual machine.
  • Seamless mode works!

What is seamless mode? Have a look:

OpenSolaris Seamless Mode (VirtualBox 1.6.0)

ref:

  1. Howto: Install VirtualBox in Ubuntu Hardy Heron with USB Support in 5 easy Steps!