Snap... (sh.itjust.works)
submitted 2 years ago by to c/linuxmemes@lemmy.world
 
you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 2 years ago (2 children)

Why not containerise everything? You need libreoffice? No problem, here is a docker or podman container.

Flatpak is basically GUI-optimized containers. It uses the same technology (namespaces) as docker and podman, just with some extra tools to make GUI-related things work properly. That's why flatpak apps don't use the system's gtk version -- they're running in a sandbox with a different rootfs. You can spawn a shell into the sandbox of a specific app with flatpak run --command=sh com.yourapp.YourApp and poke around it if you want to.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago (1 child)

    Thx, looks like that's the info I've missed.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 years ago

    If you're interested in another approach to containerizing GUI applications, also checkout out x11docker. It's a small independent project maintained by one guy, nothing big like flatpak, but also pretty cool. The name is actually a bit limiting -- it supports both docker and podman, and can run wayland apps as well. One of the coolest features, in my opinion, is the ability to run a separate X server inside every sandbox and forward individual windows to the "host" X server. That way you can prevent apps from spying on your keyboard or other apps' windows.

  • source
  • parent