CI / test (push) Canceled after 0s
The MoonBit host (wasmhost/, build/wasmhost) is the only host now. Gone: host-wasm/ (Rust on the wasmtime crate, ~5,700 lines incl. Cargo.lock), the run-rust, run-drm-rust and host-wasm recipes, and `just install --rust` (both the recipe and session/install.py now stop with an error naming the removal instead of quietly ignoring the flag). remote-build.sh builds and pulls build/wasmhost. README, wasmhost/README and docs no longer describe a second host, apart from short history notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiBxpbLoeUM9xfZayq
40 lines
2.1 KiB
Markdown
40 lines
2.1 KiB
Markdown
# Installing
|
|
|
|
One recipe installs everything:
|
|
|
|
```sh
|
|
just install
|
|
```
|
|
|
|
It builds as you first (the compositor as a wasm component, the MoonBit host, the panel modules
|
|
and face unlock's PAM module), then asks for root once, through `scripts/as-root` (run0, else
|
|
sudo, doas or pkexec; see [run0.md](run0.md)), and installs:
|
|
|
|
- the "Chandra" login session: `chandra-host`, `compositor.wasm`, `chandra-session`,
|
|
`chandra-root`, `chandra-ctl` and the display-manager entries ("Chandra", and "Chandra (X11)"
|
|
for Xorg, see [x11.md](x11.md));
|
|
- the panel modules, the theme, fonts and wit files under `/usr/local/share/chandra`;
|
|
- dark mode for apps: the xdg-desktop-portal backend ([dark-mode.md](dark-mode.md)) and
|
|
`chandra-kde-colors` with its KDE color schemes;
|
|
- face unlock: `chandra-face`, `pam_chandra_face.so`, `/etc/chandra/face.conf` and the face
|
|
models ([face-unlock.md](face-unlock.md)). PAM services are only changed with `--pam`.
|
|
|
|
Running it again replaces what is there, so it is also how you update. Log in again afterwards
|
|
for a new compositor or host; `just reload` picks up new panel modules in a running session
|
|
([reloading.md](reloading.md)).
|
|
|
|
| Flag | What it changes |
|
|
|---|---|
|
|
| `--link` | Symlink the session into this checkout instead of copying: after that, rebuilding (`just compositor-wasm wasmhost modules`) is all the next login needs, no root. The checkout must stay where it is. Face unlock is copied either way. |
|
|
| `--native` | Install the native compositor (system-cc release build) instead of the wasm one |
|
|
| `--pam` | Also turn face unlock on for `polkit-1` and `sudo` (Settings > Session can do it later) |
|
|
| `--no-face` | Leave face unlock out |
|
|
| `--no-models` | Don't download the face models now |
|
|
|
|
Flags combine: `just install --link --pam`. Without a C compiler or the PAM headers
|
|
(`libpam0g-dev` / `pam-devel`) face unlock is skipped with a warning and everything else is
|
|
installed.
|
|
|
|
To remove it all: `just uninstall` (face unlock is taken out of every PAM service first).
|
|
`just uninstall --purge` also deletes the enrolled faces and `/etc/chandra/face.conf`.
|