gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
Вернуть поведение по умолчанию:
settings reset org.gnome.shell.extensions.dash-to-dock click-action