Run Unsafe Browser with Flatpak

segfault
2026-05-05T09:41:52Z

We now run Tor Browser with Flatpak with a pseudo Flatpak runtime, which consists of an overlay of our SquashFS filesystem. We could do the same for the Unsafe Browser. On tails/tails#21439 we determined this is low priority in terms of ...

We now run Tor Browser with Flatpak with a pseudo Flatpak runtime, which consists of an overlay of our SquashFS filesystem. We could do the same for the Unsafe Browser. On #21439 (closed) we determined this is low priority in terms of security, and mostly useful as UX polishing:

This would solve The Unsafe Browser has no minimize & maximize b... (#20860).

This would also solve Unsafe Browser can access files downloaded from... (#19366) because when running with Flatpak the Unsafe Browser would use desktop portals. (It would also be possible to get the Unsafe Browser to use desktop portals with our current sandboxing solution but it might require some effort to reimplement more things which Flatpak already takes care of.)

This would also solve a large part of Support dark mode on unsafe browser (#21360).

To Do

remove user_pref("widget.use-xdg-desktop-portal.file-picker", 0); in config/chroot_local-includes/usr/share/tails/chroot-browsers/unsafe-browser/prefs.js