Transferring files over bluetooth in Linux

Have a bluetooth-capable phone and want to transfer files to your Linux PC, this is how I do it in Linux Mint 14 MATE (and Ubuntu).