自動掛載u盤

終端  dconf-editor

http://blog.csdn.net/fgh1987168/article/details/6796955


在Ubuntu 10.04中,系統發現U盤、移動硬盤,只是一個提示,需要用戶到“計算機”中打開U盤。。但是10.10中只要U盤、移動硬盤一插入電腦。系統就直接打開U盤、移動硬盤了。如何修改才能使系統不自動打開U盤、移動硬盤,而是由用戶到計算機中雙擊U盤、移動硬盤磁盤打開。

下面就把我自己的做法說一下:

在終端輸入:

gconf-editor

在出來的界面中依次找到:
/apps/nautilus/preferences/media_automount
/apps/nautilus/preferences/media_automount_open

這兩個選項,把勾勾去掉就可以了,根據裏面的描述:
第一個選項是是否自動掛載,第二個是是否自動打開。



Ubuntu 11.10


If there is a line in /etc/fstab related to that drive, remove it.

The file is read only for all users other that root.

To edit it use the command gksu gedit /etc/fstab, but make a copy of the file before editing, and do not touch nothing other than removing that line.



To disable USB automount in Ubuntu 11.10 (with Gnome 3), launch dconf-editor (package dconf-tools) and uncheck the following entries:

org.gnome.desktop.media-handling automount
org.gnome.desktop.media-handling automount-open



發佈了7 篇原創文章 · 獲贊 4 · 訪問量 2萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章