Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

docs(install): add the Linux install guide and the signing identity

Alan Buscagliad4afa64b8cad
diff --git a/docs/install.md b/docs/install.md
index 257675f..922ed6d 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -39,7 +39,7 @@ Computer control needs two macOS permissions. Open **Connectors → Computer** i
Restart Gentle Dot after granting Screen Recording.
-macOS ties these grants to the app's signature. A build signed ad hoc (the default) gets a new signature on every build, so after an update the old entries stop working: remove Gentle Dot from both lists with the minus button and grant again.
+macOS ties these grants to the app's signature. A DMG signed with a stable identity (see below) keeps them across updates. A build signed ad hoc (the default) gets a new signature on every build, so after an update the old entries stop working: remove Gentle Dot from both lists with the minus button and grant again.
### Where data lives
@@ -76,8 +76,27 @@ pnpm package:mac --sign "<identity>" # or GENTLE_DOT_SIGN_IDENTITY="<identity>
pnpm package:mac --check # also mounts the DMG and smoke-tests the copied app's daemon
```
+To keep permissions across updates, sign every release with the same identity. `scripts/package/create-signing-identity.sh` creates a self-signed one named "Gentle Dot Local Signing" in the login keychain (no trust setting or password needed); its designated requirement pins the certificate (`certificate leaf = H"…"`), so it stays the same across builds. Keep that keychain entry: a new certificate means everyone grants the permissions once more. The first signed build asks once per signed file to use the key; choose **Always Allow** on the first prompt.
+
The command stages the runtime (`build/runtime/darwin-arm64`), signs the runtime's binaries, builds the release app, and writes the DMG to `apps/desktop/src-tauri/target/release/bundle/dmg/`. `--skip-stage` reuses a runtime staged earlier; `--check-dmg <dmg>` checks an existing DMG without building.
## Linux
-To be written (T28g).
+Gentle Dot ships as a self-contained package: it carries its own Node.js, assistant engine, and Engram, so nothing else needs to be installed first. Pick the file for your system (`dpkg --print-architecture` or `uname -m` tells which):
+
+| System | File | Install |
+|---|---|---|
+| Debian 12+, Ubuntu 24.04+ (x86_64) | `gentle-dot_<version>_amd64.deb` | `sudo apt install ./gentle-dot_<version>_amd64.deb` |
+| Debian 12+, Ubuntu 24.04+ (ARM64) | `gentle-dot_<version>_arm64.deb` | `sudo apt install ./gentle-dot_<version>_arm64.deb` |
+| Arch Linux, Omarchy (x86_64) | `gentle-dot-<version>-1-x86_64.pkg.tar.zst` | `sudo pacman -U gentle-dot-<version>-1-x86_64.pkg.tar.zst` |
+
+Keep the `./` with `apt`. The package manager adds WebKitGTK and tray support. Then open **Gentle Dot** from your app menu, or run `gentle-dot`.
+
+- The app is `/usr/bin/gentle-dot`; its bundled runtime is in `/usr/lib/Gentle Dot/runtime`. Your data lives in `~/.gentle-dot`.
+- First launch needs the network once: the engine installs its companion packages (about 20 seconds).
+- Computer control is macOS only.
+- GNOME: add a custom shortcut that runs `/usr/bin/gentle-dot --toggle` (see docs/linux-testing.md, step 9). Debian needs the AppIndicator extension for the tray icon.
+- Hyprland / Omarchy: paste `scripts/linux/hyprland/gentle-dot.lua` (or `.conf`) into your Hyprland config; it already calls `/usr/bin/gentle-dot --toggle`.
+- Remove: `sudo apt remove gentle-dot` or `sudo pacman -R gentle-dot` (your data in `~/.gentle-dot` stays).
+- Build the packages (needs Docker): `pnpm package:linux --arch <arm64|amd64>` (amd64 also builds the Arch package); check them in clean containers with `pnpm package:linux:check --arch <arm64|amd64>`.
+- Developers can still build from source with `scripts/linux/setup-debian.sh` or `scripts/linux/setup-arch.sh` (app at `~/.local/bin/gentle-dot`).
diff --git a/package.json b/package.json
index 7267a2b..ae07209 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,9 @@
"lint": "biome check .",
"format": "biome format --write .",
"test:real": "GENTLE_DOT_REAL_AGENT=1 vitest run packages/daemon/test/real-agent.test.ts",
- "package:mac": "node scripts/package/package-mac.mjs"
+ "package:mac": "node scripts/package/package-mac.mjs",
+ "package:linux": "node scripts/package/package-linux.mjs",
+ "package:linux:check": "node scripts/package/linux-check.mjs"
},
"devDependencies": {
"@biomejs/biome": "^2.5.15",