Goodbye… and hello in-house hosting!!!

31 08 2007

Effective today, I finished moving my entire blog over to my little ubuntu box running at home. This one will no longer be updated. Check out all the new bells and whistles:



Hibernate (Suspend-to-disk) finally working with Beryl/Compiz and the suspend2 kernel (2.6.15-26-686)

9 03 2007

After a week full of google searches, ubuntuforum discussions, and many, many script revisions, I finally am able to suspend-to-disk. Here is some background info:

  • Dell Inspiron 700m
  • Ubuntu 6.06.1 LTS
  • GNOME + Beryl/Emerald
  • Intel i855/i915 Video Chipset

1. After trying the hibernate/suspend functionality in the Gnome menus to no avail, I tried to Google myself a fix but instead stumbled upon another suspend utility called suspend2. After reading some success stories with other users on Dell laptops, I installed the suspend2 packages with Synaptic:

  • suspend2
  • suspend2-userui-usplash
  • initramfs-tools-suspend2
  • hibernate (if it’s not already installed)
  • acpi (not sure if this is needed)

2. To be honest, I had no idea what to do next so I went online to the suspend2 and learned that I needed to compile a new kernel and patch it. Not wanting to deal with that, Google came to my rescue again. Apparently, there are some repositories out there with precompiled kernels that already have the patch applied. So all I did was add:

deb dapper/

to my ‘/etc/apt/sources.list’ (or System->Administration->Software Properties). Then:

sudo apt-get update

sudo apt-get upgrade

Hopped back into Synaptic Package Manager and searchd for ‘linux-image’. I found 4 packages with suspend2 already patched. I chose the 686-nosmp package because my Centrino laptop is only a single core. Choose 386 for older Pentiums and 686 for dual-cores. YMMV.

3. After the new kernel installed and grub was automatically updated, I checked to make sure the option


was been appended to /boot/grub/menu.lst (where X is my swap partition). Here’s mine:

title Ubuntu, kernel 2.6.15-26-686-nosmp

root (hd0,0)

kernel /vmlinuz-2.6.15-26-686-nosmp root=/dev/hda6 ro resume2=swap:/dev/hda5 quiet splash

initrd /initrd.img-2.6.15-26-686-nosmp



4. Good, already done. I then restarted into my new kernel.

5. Now to edit the hibernation scripts to match my hardware. Check back soon…

Installing NetBeans on a system with Beryl/Compiz enabled

6 03 2007

If you are interested in installing NetBeans 5.5 IDE onto a machine running a linux distro with eye candy enabled e.g. Beryl or Compiz, check out this blog to get it working correctly:

Without nesting an Xserver running a different WM (icewm), the IDE just loads with a blank white screen. There is even a short shell script you can copy to have everything done for you with one command.

Useful Ubuntu apps

2 03 2007

Gnome + Deskbar + Beagle = awesome desktop searching tool (searches through all indexed documents, web pages, executables, IM logs, audio & video, et al.

Beryl is > than Compiz/Aiglx