I have installed both flatpak and snap versions of several apps (I sometimes even have appimage and deb file of some other apps installed too) to find which one works better for me.
Now I want to remove all other versions and keep the one I have customized, etc.
Unfortunately I have problems opening gnome-software so that the answer to this question doesn't help me. Is there anyway to check an installed or rather running app is a flatpak, snap, or native?
Let me give an example. I have both native and flatpak Firefox installed. I opened both of them and found one better for me and customized it, logged in to my account, added all my bookmarks etc. I close the other one, and add the chosen one to favourites to launch it from the dash next time. Now I don't know which source was the one I chose and favourited, and I want to figure out wether the currently open and running one is the snap version, the flatpak one, etc. so that I can remove that in Terminal. (AND I don't have access to gnome software app.)
Ubuntu 22.10 Gnome 43.1