Ben Chuanlong Du's Blog

It is never too late to learn.

Install Dropbox Using Flatpak

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

flatpak install flathub com.dropbox.Client

Configuration on Fedora Atomic Linux Distributions and Variants

Fedora Atomic Linux distributions changed the root (/) filesystem type to composefs for reasons. Composefs is not a widely recognized filesystem type across the Linux landscape. For example, the Dropbox flatpak does not recognize composefs and does not know what to do with it. One workaround to make Dropbox installed via flatpak to work on Fedora Atomic Linux distributions is to configure the flatpak (using flatseal) to point to /var/home/userid instead of /home/userid.

  • Grant the flatpak permission to /var/home/userid.
  • Set the HOME environment variable for the flatpak to be /var/home/userid instead of /home/userid.

Image

The workaround is effective because on Linux Atomic Linux distributions (and variants) /var/home is of the type btrfs instead, which is widely recognized.

References

Comments