diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index d0b3476..fafef46 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -76,7 +76,7 @@ Work this list top to bottom. Each item ends with tests, the fuzz if config or N 1. **AI Assistant: the user has not decided.** The page shows with no reader behind it, because the sidebar's AI tab is not ported (`modules/sidebar/AiAssistant.qml` and `sidebar/ai`, about 6000 lines). Ask: port it, starting with Claude Code, or hide the page. 2. **Settings left to prove live.** Clicking the new pages (Apps menus, App info, weather search, Startup, Storage, Accessibility, Focus, muted apps), the quick toggle wheel, Timers end to end, Displays' drag and Apply, sounds, inline reply, real notification images. The user said to test on their system: see "Testing settings for real" below. Anything needing the pointer needs them to agree first and the target checked in the same command. 3. **The installer and system setup: the list below.** Then the user's switch from DMS, with them present, each step on their go-ahead: `./install.sh`, disable DMS, stop `dms-gamemode`. -4. **niri defaults:** `docs/NIRI-DEFAULTS.md` has what a bare niri lacks and proposed settings, none applied. An Input page (keyboard layout, repeat, mouse speed, touchpad) is the biggest gap: there is no way to set those without editing KDL. +4. **niri defaults:** `docs/NIRI-DEFAULTS.md` has what a bare niri lacks and proposed settings, none applied. The biggest gap is input: there is no way to set keyboard layout, repeat, mouse speed or touchpad without editing KDL. The user's decision: these go in the existing **Connected devices** tab (the `bluetooth` page), not a new page. 5. Things only the real setup can prove, after the switch: System look on a real GTK and Qt app and niri's cursor; desktop icons on the real desktop, with Paste, Cut, the real clipboard and auto arrange; capture's satty save, clipboard, notification buttons and Pause; hover zones on a moved bar; Discord presence against real Vesktop, Discord or arRPC, and Steam detection; Wi-Fi, Bluetooth pairing and volume rows; game mode with music playing; idle lock firing by itself; lock recovery after a lost connection; the user's autostart on a real login. 6. Notifications, what is left: `shouldPush` under a popout, popup removal slide, `notifs.focusCalendar`, Battery warnings (`BatteryMonitor` levels), toasts' stack sliding when one closes, ExtraIndicator, bold and italics in bodies (the words and links are kept), the Notification sound picker on Sound effects, Volume tick on sliders. 7. Lock screen, what is left: password shapes do not morph or animate out; the error text has no flash; the keyboard layout button on the portrait layout; fingerprint and Howdy; the `lock.wallpaperPath` row; Switch User uses `dm-tool`, which SDDM does not have. @@ -92,6 +92,18 @@ Work this list top to bottom. Each item ends with tests, the fuzz if config or N None of this is done. The installer has not been rerun since the notifications, lock and Displays work. +**The user's decision (2026-11-05): what was found missing belongs in the installer, as options.** Each is a tick on the installer's checklist, on by default where the shell needs it, so nothing is forced and nothing is left for the user to find out later. Each option should also show in Nexus, saying whether it is installed, where a page fits: devices and input in Connected devices. Details are in `docs/NIRI-DEFAULTS.md`. The options: + +- Screen sharing and file pickers: `xdg-desktop-portal-gnome`, `niri-portals.conf`. +- Keyring: `gnome-keyring`, unlocked at login through SDDM's PAM file, with sudo, asked first. +- Qt theming: `qt6ct` and `QT_QPA_PLATFORMTHEME`. +- Automount: `udiskie`, or the shell mounting on insert. +- Night light: `wlsunset` or `gammastep`, once ported. +- X11 tray icons: `xembedsniproxy`. +- Clipboard: `wl-clip-persist` and `cliphist store`. +- Lock: the PAM file, then the preview. +- Recommended niri settings: `caelestia-recommended.kdl`. + - `02-build-shell.sh` copies `assets/`, which now holds 17 MB of `sounds/` and `fonts/`: check the data dir gets them and the shell finds them through `CAELESTIA_DATA_DIR`. A missing `sounds/` or `images/dino*` fails silently. - PAM: building now links `libpam`. Arch has it in `pam`; add `libpam0g-dev` to Debian's and `pam-devel` to Fedora's build lists. Install `/etc/pam.d/caelestia-lock` (`auth include login`, no account lines: without an account section PAM falls to `other`, which is why `pam_acct_mgmt` must stay out), with sudo, asking first. `auth.rs` already prefers it. - swaylock stays in the package lists until a preview has passed. A fresh install starts on swaylock and should tell the user to run `caelestia shell lock preview`, or offer it at the end. diff --git a/docs/NEXT-CHAT.md b/docs/NEXT-CHAT.md index 01d0054..f5433e2 100644 --- a/docs/NEXT-CHAT.md +++ b/docs/NEXT-CHAT.md @@ -14,4 +14,5 @@ Rules: - Never run Clear against my real cliphist, and don't click things in tests that change real state (pairing, Forget, End task, Pin, my Wi-Fi, Bluetooth or volume, my keyring, my theme, my real Desktop files, my monitors) unless I say so. Follow "Testing without touching the user's things" in HANDOFF.md. Check a pointer or key target in the same command that sends it: a drawer seen a moment ago can be gone. Never kill by a name I might be using. - Prefer testing settings on my real session with a copy of my config, without the pointer, as HANDOFF describes. Keep a nested niri out of my way, and remember it stops working while hidden. - After each area run the tests, plus the fuzz if config or Nexus changed: cargo test --release -p caelestia-shell every_setting -- --ignored --nocapture. Watch build warnings too. +- What a bare niri is missing goes in the installer as options, one tick each, and device and input settings go in the Connected devices tab, not a new page. - Be honest about what isn't verified. Update docs/HANDOFF.md and docs/AUDIT.md before stopping, and stop with a working shell running live on my real config. diff --git a/docs/NIRI-DEFAULTS.md b/docs/NIRI-DEFAULTS.md index ea99e53..1e45fa5 100644 --- a/docs/NIRI-DEFAULTS.md +++ b/docs/NIRI-DEFAULTS.md @@ -4,6 +4,10 @@ Written 2026-11-05 for the installer work. niri is only a compositor, so everyth **Check every config line with `niri validate` before shipping it.** The lines below were written from memory of niri's options, not tested against 26.04. +## How these get delivered + +The user's decision: what is missing here belongs in the installer as options, one tick each on its checklist, on by default where the shell needs it. Nexus shows whether each is installed, and device and input settings live in the **Connected devices** tab. The list of options is in `docs/HANDOFF.md`, under the installer. + ## What a full desktop does, and where it stands here | Job | KDE did it with | Here | To do | @@ -16,7 +20,7 @@ Written 2026-11-05 for the installer work. niri is only a compositor, so everyth | Automount | Solid | Storage page, by hand | Decide: `udiskie --tray` from the installer, or the shell mounting on insert (udisks2 is installed). | | Night light | KWin | not ported, Hyprsunset in the original | Port on `wlsunset` or `gammastep`: a toggle, schedule and temperature, plus the Night Light toast and quick toggle that were trimmed. | | Display settings | KScreen | Displays page | Done, but only `caelestia-outputs.kdl` keeps it, and that needs the install. | -| Keyboard layouts, repeat, touchpad, mouse speed | System Settings | **no page at all** | A new Input page writing `caelestia-input.kdl`, as Displays does. Without it users edit KDL for keyboard layout and mouse speed. Worth doing before release. | +| Keyboard layouts, repeat, touchpad, mouse speed | System Settings | **no rows at all** | Put them in the existing **Connected devices** tab, not a new page (the user's decision), writing `caelestia-input.kdl` as Displays writes its file. Without it users edit KDL for keyboard layout and mouse speed. Worth doing before release. | | Default apps, file types | System Settings | Apps page sets the shell's own apps | File types and `xdg-mime` defaults are not touched: the page's `File Types` search entry has nothing behind it. | | Terminal for `.desktop` Terminal=true | Konsole | `general.apps.terminal` | Check launcher entries with Terminal=true honour it. | | Thumbnails | KIO | none | `tumbler` only matters for GTK file managers; desktop icons have none. |