Announcement

Collapse
No announcement yet.

Flatpak experts? Or at least knowledgable users...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Flatpak experts? Or at least knowledgable users...

    I ran into this on a btrfs subreddit:
    is it good practice to create a subvolume for /var/lib/flatpak?
    I mean, are flatpaks completely "independent" from the rest of the system?
    so if I restore a previous btrfs snapshot with old kernel and libraries, do flatpaks still work with this layout?

    I don't know enough about flatpaks to answer, but if Flatpaks are completely distro agnostic and quickly re-installed, is there any reason to back them up? I can see a use-case where one would use a separate subvolume as suggested above to reduce overall snapshot/backup size of the main subvolume.

    Furthermore, could one mount the same flatpak subvolume in multiple install (in the case of dual booting) and would that work? I assume you would have to somehow create the menu entries in the other distros.

    I have questions, people...

    Please Read Me

    #2
    TL;DNR (for me): https://docs.flatpak.org/en/latest/dependencies.html
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      I don't see why this wouldn't work for sharing between distros, though I imagine the actual system libs for flatpak probably want to be identical.

      Don't forget that flatpak can be installed to the user's home dir as well, would a shared $HOME , or a sub volume mounted to ~/.var preserve all the shortcuts, etc?
      Logic, or what passes for it in my head seems to indicate it would.

      I haven't found a reference to when or how flatpaks or the DE generate menu entries

      Comment

      Working...
      X