7021179: GNOME3 auto-mounts removable media when that is not the desired behavior

Change the automount setting used by org.gnome.desktop.media-handling for any users of the GNOME3 shell.

Method A (GUI based): Use GTK-based “dconf Editor” to change this setting.

1. If not already present, install the dconf-editor:

hostname:~ # zypper in dconf-editor

2. Select the “Applications” menu > “System Tools” and select the dconf Editor.

3. Navigate to org > gnome > desktop > media-handling and select the “automount” setting.

4. Make sure “Use default value” is set to “Off” and “Custom value” is set to “False”.


Method B (command-line based): Use gsettings command-line tool to change this setting.

1. First, check the value of the automount setting:

hostname:~ # gsettings get org.gnome.desktop.media-handling automount

2. If automount is set to “true” switch the value to “false”:

hostname:~ # gsettings set org.gnome.desktop.media-handling automount false

Related:

Leave a Reply