Desktop: keep Firefox out of Work Offline, and probe the network in debug runs

Firefox decides whether it is online by dumping the routing table over
netlink, which Android denies to apps; it sees no default route, switches to
Work Offline and every page fails while the network is fine. A defaults file
staged into Firefox's pref directory turns that off, and drops the process
sandboxes that have nothing to set up under proot. Debug runs now log a name
lookup and a fetch over IPv4 and IPv6 from inside the session.
This commit is contained in:
The412Banner committed 2026-09-20 04:51:50 -04:00
1 parent 36b0bea470
commit 3d4cfededf
4 files changed
+31

No files matched your search

@@ -39,6 +39,7 @@ object SessionFiles {
"etc/xdg/labwc/autostart" to "etc/xdg/labwc/autostart",
"etc/xdg/labwc/rc.xml" to "etc/xdg/labwc/rc.xml",
"etc/xdg/lxqt/panel.conf" to "etc/xdg/lxqt/panel.conf",
"usr/lib/firefox/defaults/pref/steamdeck.js" to "usr/lib/firefox/defaults/pref/steamdeck.js",
)
val all = if (File(root, "usr/bin/labwc").isFile) files + desktop else files
for ((asset, relative) in all) {