We’ve just told you: Don’t install latte-dock on Gnome: You’re going to back yourself into a corner that you cannot get out of pretty soon if you keep doing things like that.
Therefore, please read this:
(At a minimum the section Linux has multiple GUIs and better read all sections you’re not yet familiar with)