How to get your Logitech DiNovo Mini to work in Ubuntu

I am writing this post because I forgot to bookmark [...]