Following some of the instructions on CWiiD I now have my Wiimote connected to my Ubuntu desktop.
I accidentally followed the instructions for Gutsy Gibbon (7.10) instead of Hardy Heron (8.04) but it seems to have not caused any harm.
Apparently this is all I needed to do,
~/$ sudo apt-get install libcwiid1 lswm wmgui wminput
However there was a problem connecting at first,
~/$ wmgui Error opening control channel Error opening control channel ~$ sudo wminput Put Wiimote in discoverable mode now (press 1+2)... No wiimotes found unable to connect
Perhaps it was because there were some other Bluetooth devices in the area (not listed below). Anyway, this seemed to make it work,
~/$ hcitool scan Scanning ... 00:1E:35:3E:0C:2D Nintendo RVL-CNT-01 ~/$ wmgui 00:1E:35:3E:0C:2D ~/$ wminput 00:1E:35:3E:0C:2D Put Wiimote in discoverable mode now (press 1+2)... Ready.