Indeed, I made a fedora distrobox and followed the build recommendations of Ghostty for fedora, see here: Build from Source - Install. You can deploy a binary in your home dir:
zig build -p $HOME/.local -Doptimize=ReleaseFast
This allows you to run Ghostty directly from the host, without entering distrobox and without layering.
Anyway, I liked the experiment and Ghostty is a promising project. For daily use, I prefer the default Ptyxis terminal.
Indeed! With sharing of your home directory into the distrobox container, you very likely won’t need a manual copy step. As per comment from @mheuvel-dev .
Right now I’ve set up a script for fetching the latest release and building if there are differences, but it’s a little janky and I’m not sure how to automate it to run in the distrobox.
Does anyone have a nice way of setting up something like a systemd Quadlet to automate the maintenance?
Looks like that PR was merged….but I’m not seeing ghostty available in flathub (or if there’s a repo available to add). Anyone know if this got resolved?
Ghostty 1.2 now comes with a configuration to build for Flatpak as well as Snap. We test this for every commit in CI and strive to keep Ghostty working via these distribution methods. However, we do not officially provide or maintain Flatpak or Snap packages, yet.
This is major progress: Ghostty 1.1.x didn’t work at all as a Flatpak or Snap package without patches, and the official project made no guarantees about maintaining these packages. Now, we at least build and test on these platforms, while still falling short of official distribution.
Our major blocker for official distribution is maintainer interest and release automation. None of the current Ghostty maintainers main the Snap or Flatpak builds of Ghostty, and we don’t feel confident in our ability to maintain these packages long term. If you are interested in helping maintain the Flatpak or Snap packages of Ghostty, please join Discord and message us in #packaging.
The AppImage for GhostTTY works great, but I am looking forward to using the Flatpak. You could also install it in a debian distrobox and export the binary. I know people who have done this for apps like Steam to get around driver issues, but I’ve never tried it personally.