From 5417587ac45200a2fb5f44536ff8d9b0c9e44c3f Mon Sep 17 00:00:00 2001 From: The412Banner Date: Sun, 20 Sep 2026 04:59:35 -0400 Subject: [PATCH] Desktop: Firefox writes its network log in debug runs The session reaches the internet over both families (r32's probe), so a browser saying otherwise has to explain itself: with the debug marker set, Firefox logs its name lookups, connects, HTTP transactions and link/offline decisions to ~/.cache/steamdeck/firefox-net.log. --- tools/linuxfs/desktop/autostart | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/linuxfs/desktop/autostart b/tools/linuxfs/desktop/autostart index 2a19230148..3fbfcf7857 100644 --- a/tools/linuxfs/desktop/autostart +++ b/tools/linuxfs/desktop/autostart @@ -24,6 +24,13 @@ if [ -f "$HOME/.steamdeck-desktop-debug" ]; then done ) & fi +# In debug runs Firefox (started from the panel or the menu, so it inherits this) writes its +# own network log: name lookups, connects, HTTP transactions, the link/offline decisions. +if [ -f "$HOME/.steamdeck-desktop-debug" ]; then + mkdir -p "$HOME/.cache/steamdeck" + export MOZ_LOG="nsHttp:3,nsSocketTransport:3,nsHostResolver:4,NetworkLinkService:5,NetworkConnectivityService:5,nsIOService:5" + export MOZ_LOG_FILE="$HOME/.cache/steamdeck/firefox-net.log" +fi swaybg -m fill -i /usr/share/backgrounds/steamdeck.png & # Desktop icons (pcmanfm-qt manages the desktop surface) and the panel with the app menu. run pcmanfm-qt pcmanfm-qt --desktop --profile lxqt