Nautilus Automount – Disable Auto-Opening Nautilus Window After Auto-Mount

automountexternal-hddmountnautilususb-drive

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?

Best Answer

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

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