From 8c19f29b92cbfcc4c1c1e435e9b9e187dae65398 Mon Sep 17 00:00:00 2001 From: adadrag Date: Thu, 12 Mar 2026 16:36:40 +0000 Subject: [PATCH] Mark desktop shortcuts as trusted to suppress XFCE warning Sets xfce-exe-checksum metadata on .desktop files so XFCE doesn't show the "Untrusted application launcher" dialog. Co-Authored-By: Claude Opus 4.6 --- setup-openclaw-lxc.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup-openclaw-lxc.sh b/setup-openclaw-lxc.sh index c300504..54dfc11 100644 --- a/setup-openclaw-lxc.sh +++ b/setup-openclaw-lxc.sh @@ -275,6 +275,12 @@ StartupNotify=true SHORTCUT chmod +x /root/Desktop/openclaw-dashboard.desktop" +# Mark all desktop shortcuts as trusted (suppresses XFCE "Untrusted application" warning) +ct_exec " + for f in /root/Desktop/*.desktop; do + gio set \"\$f\" metadata::xfce-exe-checksum \"\$(sha256sum \"\$f\" | cut -d' ' -f1)\" + done +" ok "Desktop shortcuts created." # ─── Create systemd services ─────────────────────────────────────────────────