Preparation

First, update apt

sudo apt update && sudo apt upgrade -y

Install Flatpak

# install
sudo apt install flatpak -y
#if you want to install from software GUI
sudo apt install gnome-software-plugin-flatpak -y
#add the flathub repo
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Important Flatpak packages

sudo flatpak install flathub org.mozilla.firefox -y
sudo flatpak install flathub com.bitwarden.desktop -y
sudo flatpak install flathub com.authy.Authy -y
  1. close and reopen terminal

  2. Sign in to authy and transfer

Remove Firefox snap.

There are just too many bugs and inconsistencies to recommend this at this point. Let’s use flatpak instead.

sudo snap remove firefox
  • install multi-account containers addon

Bitwarden

  1. install bitwarden plugin for firefox.
  2. sign in

Ubuntu 22.04 quirks

from here:

sudo apt remove brltty -y