Ubuntu 20.04 workstation setup

When installing ubuntu, make sure the rootfs is using btrfs, then we can use the following btrfs utilities to make snapshots of the rootfs


For the apt hook, I use the newer fork


2. Installing vscode

When installing vscode, it will mess up your mime setup for xdg-open, causing snapper-gui to open snapshot directory with vscode instead of disk analyzer(baobab)

use the following commands to fix the xdg-mime default applications

# execute for your user and root
xdg-mime default org.gnome.Nautilus.desktop inode/directory
xdg-mime default org.gnome.baobab.desktop inode/mount-point

Leave a Reply