Because I hate Electron

  • Samueru@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    17 hours ago

    You can use appimages, more importantly if you make a directory next to the appimage with the name of the appimage + .home the appimage will also set that as its $HOME that way you can also keep the configuration files of the app separated from the host OS.

    You can also sandbox appimages with aisap.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    Docker, Distrobox, Toybox, systemd-nspawn, chroot.

    Technically those all rely on the same kernel namespace features, just different ways to use it.

    That’s also what Flatpaks and Snaps do. If you only care about package bloat, an AppImage would do too but it’s not a sandbox like Flatpak.

  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Snap turns your system into a slug at boot time, makes it take forever to shut down as it unmounts fifty memory file systems, scatters files all over the place turning a neat organized system into a pile of shit. I primary run Ubuntu, but I excise snap from it as one of the first orders of business.

  • flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    IIRC that’s the whole point of flatpak, snap and appimage

    Docker can probably do it too, distrobox puts a useful wrapper on that

    Nix does that kind of, nix packages aren’t isolated in that they can’t access resources on your system but all dependencies are stored in the nix store, hashed and isolated from eachother, and wiped when you collect garbage

  • StefanT@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    Go with one of the ready to use systems. Flatpak, Snap, AppImage. Snap is largely Ubuntu Ecosystem, Flatpak is independent. AppImage is an option if you do not need/want a Sandbox.

    Stay away from Docker and LXC for this use case (graphical applications), they are much more work to get going.

    • zingo@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      19 hours ago

      Yes, Docker apps are more appropriate for servers and most apps are “made” to run 24/7 to serv the home or workplace.

      They are very much worth the “work to setup” as they can be transfered/replicated to any system.

      Flatpak and the alike are for running apps on a desktop/laptop.