How do I hide the icon for a mounted volume from the dock on Ubuntu 19.10 and later?
Open Terminal and run the following command:
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false
Open Terminal and run the following command:
gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false