Because I hate Electron

  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    15
    arrow-down
    4
    ·
    5 hours 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.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    29
    ·
    7 hours 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.

  • StefanT@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    5 hours 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.

  • flashgnash
    link
    fedilink
    arrow-up
    20
    ·
    edit-2
    7 hours 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

  • gomp@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    6 hours ago

    One way or another, if you want to run an application you are gonna need its dependencies (the key is the name)… they may be bundled into an appimage or come as part of flatpak ruintime, or be confined inside a container, or live in the nix store, but they will “bloat” your system anyway.

    Learn how to cleanup your system (ie. uninstall all packages that are not needed by others that have been requested explicitly) and live a happy life. Only bother with other solutions if the software (or version) you need isn’t available for your distro.

    • ColdWater@lemmy.caOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      7 hours ago

      I heard of docker but I’m not really sure what it is, is it free? is it hard to set everything up? Can my computer handle it?

      • flashgnash
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        7 hours ago

        Docker and podman aren’t too bad nowadays I don’t think assuming you’re not running something huge

        (Podman is another tool that does the same thing as docker)

        Docker and podman containers are basically like throwaway mini-vms that contain one application to ensure it will always run no matter where so long as the machine you’re running them on can run docker

        They can run CLI stuff just fine, I’m not sure about desktop apps someone smarter than me will probably tell you about that

      • WolfLink@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 hours ago

        FOSS lightweight ”virtual machine” (it’s not quite a VM but it’s similar conceptually. It’s much lighter on your system than a VM).

        Easy to install, setting it up for your use case may take some coding if it isn’t common (bash scripting experience will help).

  • 0x0@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    Look into Incus (formerly LXC) containers or the various i’m gonna replace traditional packaging formats like AppImage, FlatPak and what not.

  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    5 hours ago

    Yea, I have a Manjaro box also, which is based up on Arch with some ugliness added to it, and yes, I have installed and run Arch before so I am familiar, only problem I’ve run into is every time I go to do an update one or more apps won’t compile and I end up having to remove 35 programs and re-installing to fix. There are a lot of things to like about it though, particularly having packages that are just tar files makes them very easy to extract / modify / create. But not a great system if you just need to get things done.

  • fl42v@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    Both strange and not, tbh. On one hand, I understand the sentiment; on the other hand, installing more software with its own dependencies to isolate electron’s dependencies, and potentially installing twice those libs both electron and something else on your system depend on seems counterproductive (leaving the security benefits of containerization/sandboxing out of the question here, tho).

    • ColdWater@lemmy.caOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      7 hours ago

      Holy smoke this is it, I can’t believe I’m using Linux for 1 years and still haven’t heard of this software, I’ll give it a shot thanks you very much

      • ColdWater@lemmy.caOP
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 hours ago

        I’m only needed to run any apps that has bloat/redundant dependencies so I can remove it anytime I want without screwing up my entire OS ;D

        • treesoid@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          7 hours ago

          Maybe check out nix. It can be installed on any distro and if you install (temporarily but cached) the app trough nix shell you can then just clean the dependencies with nix store gc.

          • flashgnash
            link
            fedilink
            arrow-up
            4
            ·
            7 hours ago

            Come to the dark side we have version controlled operating systems

  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    1
    arrow-down
    10
    ·
    7 hours ago

    Since Linux tends to be inherently more efficient AND secure than WhenDoze it makes more sense to me to run Linux as the primary OS and put WhenDoze as in the VM. This has the additional benefit of making it easy to restore WhenDoze when it inevitably
    shits itself.