WARNING! You may want to do a backup of your firefox profile (see below)
snap remove firefox
sudo add-apt-repository ppa:mozillateam/ppa
sudo apt update
nano /etc/apt/preferences.d/firefox
Fill it with the following content
Package: firefox
Pin: version 1:1snap1-0ubuntu2
Pin-Priority: -1
this will de-prioritize the snap version.
check which if your hack worked:
sudo apt-cache policy firefox
it should show something like this:
firefox:
Installed: 115.0+build2-0ubuntu0.22.04.1~mt1
Candidate: 115.0+build2-0ubuntu0.22.04.1~mt1
Version table:
1:1snap1-0ubuntu2 -1
500 http://de.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
115.0+build2-0ubuntu0.22.04.1~mt1 500
500 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
sudo apt install firefox
Snap Firefox profiles are saved in ~/snap/firefox/common/.mozilla/
I’ve copied this over to ~/.mozilla/
.
Sadly firefox wasn’t picking up my old profile on first start, I needed to modify the Default
in ~/.mozilla/firefox/profiles.ini
.