Ubuntu desktop edition by default auto-mount removable media connected via usb port. This tutorial shows how to disable usb auto-mount feature on Ubuntu 11.10, 12.04 and higher.
- 1. Install dconf-editor by searching dconf-tools in Software Center.
- 2. Launch dconf-editor and navigate to org -> gnome -> desktop -> media-handling
- 3. The automount key controls whether to automatically mount media. If set to true, then Nautilus will automatically mount media such as user-visible hard disks and removable media on start-up and media insertion.
The automount-open controls whether to automatically open a folder for automounted media. If set to true, then Nautilus will automatically open a folder when media is automounted. This only applies to media where no known x-content/* type was detected; for media where a known x-content type is detected, the user configurable action will be taken instead.