Installing Ubuntu (Hoary) on a ThinkPad X22
Ubuntu 5.04 (Hoary) Just Works on the X22.
However, ACPI suspend to ram is disabled by default. To enable it, edit /etc/default/acpi-support and uncomment the line
ACPI_SLEEP=true
This will allow suspend by pressing FnF4
By default, closing the lid blanks the screen, but does not suspend. To suspend on lid close, edit
/etc/acpi/events/lidbtn and change the action line to read
action=/etc/acpi/sleep.sh