打开终端
禁止自动挂载:
$ gsettings set org.gnome.desktop.media-handling automount false
禁止自动挂载并打开
$ gsettings set org.gnome.desktop.media-handling automount-open false
允许自动挂载
$ gsettings set org.gnome.desktop.media-handling automount true
允许自动挂载并打开
$ gsettings set org.gnome.desktop.media-handling automount-open true