Prompt – A terminal for a container-oriented desktop
blogs.gnome.org
blogs.gnome.org
Thanks!
EDIT: Ah, looking at the screenshots on the project's page I see that it has a menu listing running containers which allows to directly open a terminal tab with a shell running inside the selected container. Is that it or is there more to it?
What about flatpaks? Do flatpaks actually work like containers?
From what I found[0] Flatpak can run OCI images.
No, the flatpak connection is that Prompt is designed from the beginning to run inside a flatpak.
The reason Prompt is interesting is that 1. I can install it as a Flatpak which, as mentioned, is pretty much a requirement for me to install anything (on top of providing sandboxing), and 2. it makes it easier to jump into one of my development containers, and to see which container I'm currently working in.
People that know me know I'm not fond of the design of containers on Linux. But that's just because I've been stuck having to make things actually work on them. Transparent IDE support, making profilers, resolving ELFs from radically different mount namespaces, PTY API giving completely undocumented results, ...
But that said, we're stuck with them so might as well make it as pleasant as possible.
Prompt will probably be my next terminal emulator. That inspector looks interesting. Have you seen Ghostty’s recent demo²?
1: https://www.youtube.com/watch?v=WVWrllJQJ_s&t=6155s
2: https://mitchellh.com/writing/ghostty-devlog-005#terminal-in...
We built Flatpak and Builder in concert from the beginning to foster this exact outcome.
But as for language? I already hack on GTK/GDK/GSK internals in C, a mix of C++ and C to contribute to VTE, and Builder is 250k of C with another 200k in associated libraries. I'm just better at it and language bindings are never an issue.
Are you aware that there is already a terminal for iOS with the same name? https://panic.com/prompt/
It was Linux folks that decided it was also a means to ship developer machines into production, and now we're stuck with the revised meaning what containers are supposed to be used for.
Interesting so is that a package that needs to be installed on the host or does flatpak allow running executables outside the namespace?
This of course only works because of careful selection of which GLibc API/ABI is allowed to be used. So far I've tested as far back as CentOS 7.
Additionally, being able to monitor container APIs in the long run will require more than file monitoring a podman json file in the user $HOME. It could connect to a socket for monitoring (like machinectl, etc).
All these sort of things really benefit from running on the host rather than the UI sandbox.
> is said agent tied to prompt or could the "container detection extras" be usable with other Linux terminals
In that it's bundled with prompt, but it's just a D-Bus API albeit on a private socketpair(). The agent is not much code though to copy.
Of course, I also wrote the glyph cache for GTK, but it's just not something I can fix there.