From 4ca1ec7ff98e3fdd2c820d48af78445bb4d53437 Mon Sep 17 00:00:00 2001 From: Isaiah Inuwa Date: Fri, 26 Jun 2026 21:11:48 -0500 Subject: [PATCH] daemon: Fix locations of xdg-desktop-portal --- credentialsd/src/gateway/mod.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/credentialsd/src/gateway/mod.rs b/credentialsd/src/gateway/mod.rs index 41b02be..d662762 100644 --- a/credentialsd/src/gateway/mod.rs +++ b/credentialsd/src/gateway/mod.rs @@ -270,7 +270,12 @@ async fn should_trust_app_id(pid: u32) -> bool { .filter_map(|path| Path::new(path).canonicalize().ok()) .collect() } else { - vec![PathBuf::from("/usr/bin/xdg-desktop-portal")] + vec![ + PathBuf::from("/usr/lib/xdg-desktop-portal"), + PathBuf::from("/usr/libexec/xdg-desktop-portal"), + PathBuf::from("/usr/local/lib/xdg-desktop-portal"), + PathBuf::from("/usr/local/libexec/xdg-desktop-portal"), + ] }; tracing::debug!( ?trusted_callers,