自动安装后禁用自动打开nautilus窗口

每次插入USB记忆棒时,nautilus都会打开一个包含驱动器内容的新窗口。 我想禁用nautilus窗口的这个自动打开,但我希望实际的自动挂载继续工作。 这可能吗?

最简单的选择是使用Ctrl + Alt + T打开终端,然后键入:

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

事实certificate,它是。 您将需要dconf-editor工具,可以使用sudo apt-get install dconf-tools 。 在终端中运行dconf-editor 。 浏览到组织 – > gnome – >桌面 – 媒体处理。 取消选中automount-open

与izx相对应的设置禁用在cinnamon桌面中自动启动nemo

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

在debian gnome桌面上使用GUI:

打开dconf-editor然后转到org -> gnome -> desktop - media-handling 。 取消选中automount。