Tuesday, January 27, 2009

Virtualbox 2.1

Following previous posts about installing Virtualbox, here's the 2.1 update (currently 2.1.2).

If you have 2.0 already installed you need to manually install the new version.


Install

  • Go to System > Administration > Software Sources and Third-Party Software.
  • Add the following sources for Intrepid (check your distribution here)
  • Download and register Sun authentication key
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
  • Be sure your source list is updated
$ sudo apt-get update
  • Be sure you have dkms installed (so Virtualbox host kernel is automatically updated as you update your system kernel)
$ sudo apt-get install dkms
  • Install Virtualbox 2.1
$ sudo apt-get install virtualbox-2.1
  • Logoff and login again

  • Start Virtualbox at Applications > System Tools > Sun xVM VirtualBox

  • If you have a Windows Virtual Machine don't forget to install the Guest Additions (after starting the virtual machine go to Devices > Install Guest Additions).

Ubuntu Pocket Guide and Reference

Great book about Ubuntu. Ideal if you are new to Linux and Ubuntu.

http://www.ubuntupocketguide.com/

You can download the PDF version for free or buy it online.

Wednesday, January 21, 2009

Migration to Squarespace

I just changed my blog to Squarespace.


I had already posted about this service, and now, finally I've changed. If you don't know it yet check out the video in the front page and sign for a trial account. You'll only need an email account to do so.


Sign the new guestbook and let me now what you think about the new looks.


Monday, January 12, 2009

Reduce brightness on HP Pavilion dv5-1020ep (Ubuntu 8.10 64 bits)

My brightness function keys always worked, but suddenly they stopped working as well as the "Reduce backlight brightness" option in Power Management Preferences :(
Every time I unplugged my power cord the monitor dimmed automatically. Now not even with the function keys I get my brightness down.

This happened in my HP Pavilion dv5-1020ep running Ubuntu 8.10 64 bits.

Here some additional info after searching in the Ubuntu forums and Google:
$ grep . -r /var/lib/acpi-support/*-*
/var/lib/acpi-support/bios-version:F.20
/var/lib/acpi-support/system-manufacturer:Hewlett-Packard
/var/lib/acpi-support/system-product-name:HP Pavilion dv5 Notebook PC
/var/lib/acpi-support/system-version:Rev 1
$ more /proc/acpi/video/DVGA/LCD/brightness
<not supported>
$ sudo echo -n 5 > /proc/acpi/video/DVGA/LCD/brightness
bash: /proc/acpi/video/DVGA/LCD/brightness: Permission denied
This happened either after a kernel or hal update...

I found a workaround, that allow the brightness to be changed. This isn't the fix, if I unplug the power cord the brightness keeps it's value. Still, the function keys do their job...

Just add acpi_osi="Linux" to your grub menu:
$ sudo vi /boot/grub/menu.lstitle Ubuntu 8.10, kernel 2.6.27-11-generic
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=cba317f7-1d97-4cf8-9ac8-a4a6aaf0ea81 ro quiet splash acpi_osi="Linux"
initrd /boot/initrd.img-2.6.27-11-generic
quiet