How to fix Samsung Galaxy Nexus MTP file transfer for Ubuntu 11.10

One comment on the article: in Ubuntu Precise Pangolin (v12.04) the libmtp is already the latest (v1.1.3) and Nexus works with it (ie. you can write to the device too) out of the box.