disable USB automount in Ubuntu

Since there is a bug in Ubuntu which let iPhone with iOS7 can not be mounted, I decided to disable it. Here is the steps:

  1. Install dconf-tools.
  2. Launch dconf Editor and navigate to org -> gnome -> desktop -> media-handling
  3. Uncheck “automount” and “automount-open”