So I’m looking at trying am Immutable Linux Desktop (uBlue Aurora probably). One thing I’m not clear on is how to run GUI apps during development. From what I understand I should create a container with distrobox, install my toolchains in it and start developing. I’m used to containers for CLI and server work, but I’m not sure how it applies to the GUI (Wayland / KDE).

If I do a cargo run inside distrobox for a Rust GUI project will it just work? I saw that I can ‘export’ apps, but that is for already built executables whereas I will be building and rebuilding them.

  • governorkeagan@lemdro.id
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 months ago

    I’ve used Bluefin and Aurora for some light web development. I created a container with toolbox (I assume things would be similar with distrobox) and did what I needed. When I needed, I could run npm start and it was as if I had developed locally.

    • ByteBovine@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Are you accessing that through the browser? It might just be bridging the networking in that case.

  • samc@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    In my experience it Just Works ™️. I spin up a distro/toolbox, compile some software (e.g. Emacs) then run the executable inside the container, and up pops the GUI window.

    If you use distrobox, you can even distrobox-export desktop files, at which point a containerised gui application is practically indistinguishable from one installed on the host system

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    You should be able to run any executable you like in your home directory. No need for any containers. Try it out with a Hello World app.

    • ByteBovine@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      The executable that I would be running is cargo (the rust build tool) but I want that inside of a container. I could cargo build inside the container and then execute the output binary on the host but then I lose things like hot-reload.

  • d00phy@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    4 months ago

    I had a 5-day weekend for July 4th, and spent a lot of it paddle boarding w/ my wife and some friends.

    I also had a new stereo, w/ wireless CarPlay, subwoofer, and reverse camera installed in my car. I work from home, so the car doesn’t get used much. I love it, so we will probably keep it as long as we can. It’s already 11-years old, but mostly looks new.