341
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 19 Oct 2025
341 points (100.0% liked)
Linux
9892 readers
387 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
You can, and should do that. Here's what that looks like:
toolbox run -c <toolbox-name> <command>All of my development tools are in a toolbox, including my IDE (Sublime Text). I created a standard .desktop file so that I can launch it like any other application, and it works perfectly, with a proper Icon and everything. Example:
To run something on the host from inside a toolbox, you can use
flatpak-spawn:You can even use that to (awkwardly) run something in another toolbox using the same command above:
Sublime text specifically has support for custom build commands. Sometimes, I'm using it to develop something in a different toolbox than the one sublime is installed in. So in my custom build script for the project, I add a check to enter the correct toolbox before executing the build. Here's what that looks like:
This container/toolbox workflow is far superior to anything else, as it makes it trivial to quickly test whether your code works on a different distros/versions. It all just works with your existing tooling/local workflows once you learn how to work with the tools. There really is nothing you can't do.
...and that's for development, which is the most difficult scenario for this type of thing. For regular every day users, immutability just works without requiring people to learn anything new besides reaching for flatpak instead of apt/dnf/pacman/etc.
you're a lifesaver!! I swear I looked pretty hard on the internet for this exact solution without success. my apologies!!
thanks for the info!!!