Turning off Resume from Hibernation in Ubuntu 10.04

I use dm-crypt on all my machines now, including laptops, to provide full-disk encryption. I also use it to encrypt swap partitions with a randomly-generated key. All of these are features that Ubuntu 10.04 provides out-of-the-box, at least when you use the alternate CD to install. I also recently installed µswsusp on one of my laptops, a userspace hibernation facility. I didn’t really connect the dots until one day I left the laptop running, coming back to find it hibernated.

Huawei K4505 with Ubuntu 10.04

I just acquired a new Vodafone Mobile Broadband modem to replace an aging ExpressCard version I had that wasn’t working too well. It came in the form of a Vodafone-branded Huawei K4505 USB stick. It didn’t work completely out-of-the-box with Ubuntu 10.04, at first appearing unrecognisable. After some hunting, I discovered that these sticks initially present themselves as USB Mass Storage to allow you to install the Windows drivers. You have to give a few magic incantations on Linux to make them switch into modem mode:

Disabling Synaptics Touchpad with Ubuntu 10.04

I recently installed Ubuntu 10.04 on my Thinkpad T61 and set about disabling the touchpad, which I always find irritating. There seemed to be lots of guides to this, including this one, but none of them seemed to work for me. Eventually I figured some fairly simple steps which did work: Install two packages if they aren’t already installed (gpointing-device-settings is the more modern version of gsynaptics and will uninstall it if it’s installed):