One install recipe: just install installs everything
CI / test (push) Successful in 2m25s

just install now builds as you, then asks for root once and installs the
whole thing: the login session (wasm compositor on the MoonBit host,
modules, chandra-ctl, KDE colors, portal) and face unlock (helper, PAM
module, config, models). The alternatives are flags instead of recipes:
--link (was install-dev), --rust (install-rust), --native
(install-native), --pam (install-face --pam), --no-face, --no-models.
The PAM module is compiled as you into build/, so root only copies it;
without a compiler or libpam headers face unlock is skipped with a warning.
just uninstall removes face unlock too (--purge: enrolled faces).

Removed: install-dev, install-rust, install-native, install-face,
uninstall-face and the old install-session* / uninstall-session aliases.
New docs/install.md; README, docs and installer hints updated. Also drops
a committed __pycache__ file and ignores __pycache__/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hkA52AocBmJHipFRqb
This commit is contained in:
Claude committed 2026-11-26 01:38:58 +00:00
1 parent e6be3825d0
commit 3e35c4dfa5
16 files changed
+171 -108

No files matched your search

+6 -6
View File
@@ -77,11 +77,11 @@ just client # start foot inside it (or: just client konsol
| `just run` | Nested in a window on your Wayland session, MoonBit host |
| `just run-drm` | As a login session on the real screen (from a text console, as yourself) |
| `just run-x11` | On the X server in `$DISPLAY` (NVIDIA on Xorg; the whole screen when no window manager runs) |
| `just install` | Install the "Chandra" display-manager session, and "Chandra (X11)" for Xorg (asks for root once) |
| `just install-dev` | Same, but symlinked into this checkout: later just rebuild |
| `just install` | Install everything: the "Chandra" display-manager session, "Chandra (X11)" for Xorg, and face unlock (asks for root once). `--link` symlinks into this checkout (later just rebuild), `--rust` / `--native` pick the Rust host / native compositor, `--pam` turns face unlock on, `--no-face` skips it |
| `just uninstall` | Remove it all again (`--purge` also deletes enrolled faces) |
| `just reload` | Reload the running session's panel modules from disk (`chandra-ctl reload [NAME]`) |
| `just run-rust`, `run-drm-rust`, `install-rust` | The same with the Rust host |
| `just run-native`, `run-drm-native`, `install-native` | The native (non-wasm) build |
| `just run-rust`, `run-drm-rust` | The same with the Rust host |
| `just run-native`, `run-drm-native` | The native (non-wasm) build |
| `just compositor-wasm`, `wasmhost`, `host-wasm`, `modules` | Build one piece |
| `just test` | Native compositor tests and lib tests |
| `just frame` | Render one composed frame to `_build/e2e_frame.png` |
@@ -98,11 +98,11 @@ sizes, for an app that draws at the wrong size.
The installed session logs to `~/.local/state/chandra/session.log`. Start it as yourself, never
as root: `chandra-session` refuses to run as root (`CHANDRA_ALLOW_ROOT=1` overrides). Installing
goes through `scripts/as-root`, which prefers run0 and falls back to sudo, doas or pkexec
(`CHANDRA_AS_ROOT` picks one). To run a graphical app as root inside Chandra, use
(`CHANDRA_AS_ROOT` picks one). What it installs and its flags: [docs/install.md](docs/install.md). To run a graphical app as root inside Chandra, use
`chandra-root gparted`. Details, including polkit agents (`CHANDRA_POLKIT_AGENT`), are in
[docs/run0.md](docs/run0.md).
Face unlock, in the style of Howdy: `just install-face`, then Settings > Session > Face unlock to
Face unlock, in the style of Howdy, comes with `just install`: then Settings > Session > Face unlock to
add a face and use it for the password dialog and sudo (a PAM module; the password always still
works). See [docs/face-unlock.md](docs/face-unlock.md), including what 2D face recognition can't
protect against.