Ubuntu 22.04 forced Firefox SNAP - How to remove/revert

My system: Ubuntu 22.04 with Unity.

Problems: after Ubuntu forced me to switch to Snap Firefox I had the following problems:

  • Click in Unity-Sidebar: it did not launch with the correct profile
  • Click on links in other programs: it did not launch with the correct profile and did not show the requested page
  • Startup was very slow


RECHERCHE WITH SNAP FIREFOX

Firefox: check profile folder: URL "about:support"
/home/klemens/snap/firefox/common/.mozilla/firefox/cxcpp7te.default-1511267128090

cat /usr/bin/firefox                    # mentiones snap

 

PURGE FIREFOX SNAP PACKAGE AND INSTALL MOZILLA PPA/DEB

~/snap/firefox/common/.mozilla$ cp -av firefox /teraspace/temp_do_not_backup/snap_firefox_common_.mozilla_firefox

sudo snap remove --purge firefox
snap list | grep firefox                # gone
/usr/lib/firefox/firefox --version      # not found

sudo add-apt-repository ppa:mozillateam/ppa

echo 'Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001' | sudo tee /etc/apt/preferences.d/mozilla-firefox

sudo apt install firefox

which firefox                           # /usr/bin/firefox
cat /usr/bin/firefox                    # should not mention snap

Firefox: about:support
/home/klemens/.mozilla/firefox/cxcpp7te.default-1511267128090