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