Howto get Wii Remote working in Ubuntu 8.10 (Intrepid Ibex)

This tutorial will explain howto get a Wii remote working as a mouse / keyboard / joystick in Ubuntu intrepid Ibex 8.10.