Ubuntu – How to disable USB Auto Play


How does one prevent Nautilus from automatically opening a window when a USB flash drive is inserted in Oneiric?

The autoplay options appear to be missing from Nautilus' preferences, and using gconf-editor to enable 'media_autorun_never' (as suggested by this old thread: http://ubuntuforums.org/showthread.php?t=974087) appears to have no effect, even after logging out and logging back in.

Best Answer

In System Settings -> Removable Media you have the options for that...