Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Every time I plug a USB stick in, nautilus opens a new window with the contents of the drive. I would like to disable this auto-opening of the nautilus window, but I would like the actual auto-mount to keep working. Is this possible?

share|improve this question

3 Answers 3

up vote 22 down vote accepted

Turns out, it is. You will need dconf-editor tool, which can be installed by with sudo apt-get install dconf-tools. Run dconf-editor in your terminal. Browse to org -> gnome -> desktop - media-handling. Uncheck automount-open.

share|improve this answer
On Ubuntu 14.10, you just need to install "dconf Editor" (dconf-editor). Run it once it's been added to your Launcher. Then do the same thing. –  colan Jan 3 at 1:48

The simplest option is to open a terminal with Ctrl+Alt+T, and type:

gsettings set org.gnome.desktop.media-handling automount-open false
share|improve this answer
Thank you! You are a life saver! –  Antony Sep 25 '14 at 16:28
This should be the answer. –  lightrush Nov 5 '14 at 21:03
How shall I know which settings can be changed using gsettings set ? can you provide any documentation or list ? –  MAKZ Feb 20 at 13:26

The setting corresponding to izx's to disable automatically launching nemo in the cinnamon desktop is:

gsettings set org.cinnamon.desktop.media-handling automount-open false
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.