Things you will need

  • ssh public key
  • configuration backup file
  • gpg key

First, update apt

sudo apt update
#save this for the end
# sudo apt upgrade -y

If a Virtual machine

  1. make sure you are a member of the vboxusers and vboxsf groups ^[]

    sudo groupadd vboxusers 
    sudo usermod -a -G vboxusers $USER 
    sudo groupadd vboxsf
    sudo usermod -a -G vboxsf $USER 
  2. install guest additions

    1. First, run this in the terminal

      sudo apt install -y virtualbox-guest-utils virtualbox-guest-dkms
    2. Install the virtualbox guest additions cd from the guest os window and select run when the button pops up.

    3. let it run

    4. eject the cd from the virtualbox host menu

  3. restart to apply group changes

  4. changed to bridged networking

  5. share folder

  6. install ssh

    sudo apt install openssh-server
    cat /media/share/ >> .ssh/authorized_keys
    sudo ufw allow ssh
    sudo ufw enable 

Install Flatpak

# install
sudo apt install -y flatpak
#if you want to install from software GUI
sudo apt install -y gnome-software-plugin-flatpak
#add the flathub repo
flatpak remote-add --if-not-exists flathub

Important Flatpak packages

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

install bitwarden cli

sudo snap install bw

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

Configure flatseal for userspace


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

Ubuntu 22.04 quirks

from here:

sudo apt remove brltty -y