Because I hate Electron

  • StefanT@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 year 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.

  • gomp@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year 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.

  • Samueru@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year 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.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    There is always firejail which is very “even your mom can use it” in terms of usage.

    e.g install it, type cd / && sudo firecfg, then your password and thats it.

  • fl42v@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year 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).

  • 0x0@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

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

      • ColdWater@lemmy.caOP
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year 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
          1
          ·
          1 year 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.