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 <noreply@anthropic.com>
This commit is contained in:
@@ -275,6 +275,12 @@ StartupNotify=true
|
|||||||
SHORTCUT
|
SHORTCUT
|
||||||
chmod +x /root/Desktop/openclaw-dashboard.desktop"
|
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."
|
ok "Desktop shortcuts created."
|
||||||
|
|
||||||
# ─── Create systemd services ─────────────────────────────────────────────────
|
# ─── Create systemd services ─────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user