Nautilus disable auto mount

From WickyWiki

When you insert an USB stick or USB drive Nautilus will automatically try to mount every partition on it. In combination with 'Require sudo password for mounting', it will request a password for each try. You can disable this behavior with the gconf-editor.

Start dconf-editor:

sudo apt-get install dconf-tools
dconf-editor

Go to: org -> gnome -> desktop -> media-handling -> automount and uncheck the value.

Or:

gsettings set org.gnome.desktop.media-handling automount false

See also: