Preparation
Things you will need
- ssh public key
- configuration backup file
- gpg key
First, update apt
sudo apt update
If a Virtual machine
-
make sure you are a member of the vboxusers and vboxsf groups ^[https://www.virtualbox.org/manual/ch03.html#usb-implementation-notes]
bash sudo groupadd vboxusers sudo usermod -a -G vboxusers $USER sudo groupadd vboxsf sudo usermod -a -G vboxsf $USER -
install guest additions
-
First, run this in the terminal
bash sudo apt install -y virtualbox-guest-utils virtualbox-guest-dkms -
Install the virtualbox guest additions cd from the guest os window and select run when the button pops up.
- let it run
- eject the cd from the virtualbox host menu
-
-
restart to apply group changes
- changed to bridged networking
-
share folder
-
install ssh
bash sudo apt install -y openssh-server cat /media/share/id_ed25519.pub >> .ssh/authorized_keys sudo ufw allow ssh sudo ufw enable
Install Flatpak
# install
sudo apt update
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 https://flathub.org/repo/flathub.flatpakrepo
Install preliminary packages
sudo apt install -y \
nano \
net-tools \
tmux \
zbar-tools \
curl
Important Flatpak packages
flatpak install -y flathub \
org.mozilla.firefox \
com.github.tchx84.Flatseal
- close and reopen terminal
- transfer your saved firefox profile after install
- customize according to my firefox setup page
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
Ubuntu 22.04 quirks
from here:
sudo apt remove brltty -y