Nautilus disable auto mount: Difference between revisions

From WickyWiki
m 7 revisions
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
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]]
* [[Automatically mount at startup]]

Latest revision as of 06:30, 1 April 2016

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: