To disable GNOME automounting in Linux, you can use the following steps:
- Open the GNOME configuration editor by running the command
gconf-editor
in the terminal. - Navigate to the following key:
/desktop/gnome/volume_manager
. - Uncheck the
automount
andautomount_open
options. - Close the configuration editor.
This will disable GNOME automounting for all users. If you want to disable it for a specific user only, you can use the gconftool-2
command instead of the GNOME configuration editor. Here’s an example command to disable automounting for the current user:
gconftool-2 --set /desktop/gnome/volume_manager/automount --type=bool false
You can replace false
with true
to re-enable automounting later.
Note that disabling automounting may affect the usability of the system. For example, removable storage devices may not be automatically mounted when you plug them in. You will need to mount them manually using the command line or a file manager.