Ubuntu里禁止自动打开文件夹

来源:互联网 发布:edr软件 编辑:程序博客网 时间:2024/05/17 23:38

运行xfstest时,ubuntu在检测到挂载动作后会自动打开挂载点,某些测试项会因为ebusy失败。


来自askubuntu的解决方案:

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.

这个曾经管用,但不知为何,有一次竟看不到org这一项。所幸同一页里还有这招:

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

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

From: http://askubuntu.com/questions/191527/disable-auto-opening-nautilus-window-after-auto-mount

原创粉丝点击