From eeb220f481124560f4d3c88489aa8638c26deaa5 Mon Sep 17 00:00:00 2001 From: adadrag Date: Thu, 12 Mar 2026 16:25:52 +0000 Subject: [PATCH] Add desktop shortcuts for onboarding wizard and dashboard - "OpenClaw Setup Wizard" icon opens xfce4-terminal running `openclaw onboard` - "OpenClaw Dashboard" icon opens Chromium with pre-filled auth token URL Co-Authored-By: Claude Opus 4.6 --- setup-openclaw-lxc.sh | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/setup-openclaw-lxc.sh b/setup-openclaw-lxc.sh index d937be8..37ab872 100644 --- a/setup-openclaw-lxc.sh +++ b/setup-openclaw-lxc.sh @@ -231,6 +231,41 @@ WRAPPER " ok "Chromium patched." +# ─── Create desktop shortcuts ──────────────────────────────────────────────── +info "Creating desktop shortcuts..." + +# OpenClaw Onboarding wizard (runs in terminal) +ct_exec "cat > /root/Desktop/openclaw-onboard.desktop << 'SHORTCUT' +[Desktop Entry] +Version=1.0 +Type=Application +Name=OpenClaw Setup Wizard +Comment=Run the OpenClaw onboarding wizard to configure your AI assistant +Exec=xfce4-terminal --title \"OpenClaw Onboarding\" --hold -e \"openclaw onboard\" +Icon=utilities-terminal +Terminal=false +Categories=Utility; +StartupNotify=true +SHORTCUT +chmod +x /root/Desktop/openclaw-onboard.desktop" + +# OpenClaw Dashboard (opens in Chromium with token) +ct_exec "cat > /root/Desktop/openclaw-dashboard.desktop << SHORTCUT +[Desktop Entry] +Version=1.0 +Type=Application +Name=OpenClaw Dashboard +Comment=Open the OpenClaw Control UI in Chromium +Exec=/usr/bin/chromium --no-sandbox http://127.0.0.1:18789/#token=${AUTH_TOKEN} +Icon=web-browser +Terminal=false +Categories=Network;WebBrowser; +StartupNotify=true +SHORTCUT +chmod +x /root/Desktop/openclaw-dashboard.desktop" + +ok "Desktop shortcuts created." + # ─── Create systemd services ───────────────────────────────────────────────── info "Creating systemd services..."