From 789e18668d7d837bcfc55260527e770d0df2b753 Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Sun, 16 Aug 2026 11:38:16 -0700 Subject: [PATCH] Handle unavailable status notifier at startup --- linux-rust/src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-rust/src/main.rs b/linux-rust/src/main.rs index f43f575b2..5d0c2985e 100644 --- a/linux-rust/src/main.rs +++ b/linux-rust/src/main.rs @@ -145,7 +145,11 @@ async fn async_main( command_tx: None, ui_tx: Some(ui_tx.clone()), }; - let handle = tray.spawn().await.unwrap(); + // LibrePods can be started by the session manager before the desktop's + // StatusNotifierWatcher is ready. Keep the tray service alive in that + // case so it can register when the watcher appears instead of aborting + // the entire process during login. + let handle = tray.assume_sni_available(true).spawn().await.unwrap(); Some(handle) };