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):