This one has caused my some head aches; I wanted to use ISO-8859-1(5) but no matter what I did, GNOME Terminal would select ANSI_X3.4-1968 as character encoding (screwing up everything related to danish characters).

The solution:

  1. Create or edit the file


    en_DK ISO-8859-15
  2. Regenerate locales:

    $ sudo locale-gen --purge
    Generating locales...
      en_AU.UTF-8... done
      en_BW.UTF-8... done
      en_CA.UTF-8... done
      en_DK.ISO-8859-15... done
      en_DK.UTF-8... done
      en_GB.UTF-8... done
      en_HK.UTF-8... done
      en_IE.UTF-8... done
      en_IN.UTF-8... done
      en_NZ.UTF-8... done
      en_PH.UTF-8... done
      en_SG.UTF-8... done
      en_US.UTF-8... done
      en_ZA.UTF-8... done
      en_ZW.UTF-8... done
    Generation complete.
  3. Log out and from GDM select language “English (Denmark)” and answer yes

The default method of hibernation provided by powermanagement-interface seems to be flaky at best (it does not work on either my T41 or my T61).

Luckily µswsusp works out of the box

After installing the uswsusp package you need to make sure to “remove” ACPI hibernation as this is the first choice of hibernation selected by the HAL scripts called from GNOME. You must also make sure that no other hibernation packages are installed.

$ sudo apt-get remove hibernate
$ sudo apt-get install uswsusp
$ sudo dpkg-divert --rename --divert /etc/acpi/ /etc/acpi/
$ sudo ln -sf /sbin/s2disk /usr/sbin/s2disk

If you want to make use of the hibernate button make the following changes:

First we divert the event script used by ACPI so our own script will not be overwritten when the acpi-support package is upgraded

$ sudo dpkg-divert --rename --divert /etc/acpi/ /etc/acpi/

Then create a new


with this simple content


Optionally, if you want the spiffy splash screens duringhibernate/restore, also install the splashy and splashy themes (you’ll have to edit


and add a line saying “splash = y” to use them)

$ sudo apt-get install splashy splashy-themes

VCP logo

After taking my time to get around to it I took the exam today and passed. I am now a VMware Certified Professional