Nautilus disable auto mount: Difference between revisions

From WickyWiki
m 7 revisions
 
m dconf in stead of gconf
Line 4: Line 4:
When you insert an USB stick or USB drive Nautilus will automatically try to mount every partition on it. In combination with '[[Require sudo password for mounting]]', it will request a password for each try. You can disable this behavior with the gconf-editor.
When you insert an USB stick or USB drive Nautilus will automatically try to mount every partition on it. In combination with '[[Require sudo password for mounting]]', it will request a password for each try. You can disable this behavior with the gconf-editor.


Start gconf-editor:
Start dconf-editor:


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
gconf-editor
sudo apt-get install dconf-tools
dconf-editor
</syntaxhighlight>
</syntaxhighlight>


Go to: apps -> nautilus -> preferences -> media_automount and uncheck the value.
Go to: org -> gnome -> desktop -> media-handling -> automount and uncheck the value.
 
Or:
 
<syntaxhighlight lang=bash>
gsettings set org.gnome.desktop.media-handling automount false
</syntaxhighlight>


See also:
See also:
* [[Nautilus action when media inserted]]
* [[Nautilus action when media inserted]]
* [[Require sudo password for mounting]]
* [[Require sudo password for mounting]]

Revision as of 20:03, 16 September 2013

When you insert an USB stick or USB drive Nautilus will automatically try to mount every partition on it. In combination with 'Require sudo password for mounting', it will request a password for each try. You can disable this behavior with the gconf-editor.

Start dconf-editor:

sudo apt-get install dconf-tools
dconf-editor

Go to: org -> gnome -> desktop -> media-handling -> automount and uncheck the value.

Or:

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

See also: