- Install flatpak builder
flatpak install --user org.flatpak.Builder
- Build and install the Sparrow manifest
flatpak run org.flatpak.Builder --user --install builddir com.sparrowwallet.Sparrow.yml
This will create two directories which could be removed later:
.flatpak-builderdependency cachebuilddirthe files in flatpak app image
Note:
- The Sparrow home directory is
~/.var/app/com.sparrowwallet.Sparrow/.sparrow. You might want to copy the existing data file from~/.sparrowinto it (or create a symbolic link).
@DeepDoge Thanks for sharing your details. I also tried a couple of display server combination, it needs either
--socket=x11or--socket=wayland--socket=fallback-x11, so I think JavaFX in the runtime doesn't use wayland anyways. For--device=dri, my guess is JavaFX might use openGL for rendering with some hardware not present on my host.I'm not a Java expert 😅 but hopefully my updated manifest could work on most environment.