How to get iOS 4 (iPhone OS) to sync with rhythmbox in ubuntu 10.04 (Lucid)

Well with the release of iOS 4, many Ubuntu users are complaining of incompatibility with between rhythmbox and the new update. Here is a simple way to fix that: