install-session(-dev/-rust/-native) become install(-dev/-rust/-native) and uninstall-session becomes uninstall, so installing is just `just install`. The old names stay as hidden recipes that print a one-line note and run the new one. Docs, scripts and comments now point at the new names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hj5zRiffcgWaggHdjv
This commit is contained in:
12 files changed
+53
-27
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ which asks the portal, never saw the preference that gsettings held.
|
||||
|
||||
## Checking it on your machine
|
||||
|
||||
After reinstalling (`just install-session`) and logging in to Chandra again:
|
||||
After reinstalling (`just install`) and logging in to Chandra again:
|
||||
|
||||
```sh
|
||||
# 1 = dark, 2 = light; flip the switch and run it again
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
# Picking up a new build in a running session
|
||||
|
||||
After `just install-session` the files under `/usr/local` are new, but the running session keeps
|
||||
After `just install` the files under `/usr/local` are new, but the running session keeps
|
||||
what it loaded at startup. What can be swapped without logging out:
|
||||
|
||||
| Part | Reload without logout? | How |
|
||||
@@ -18,12 +18,12 @@ that: without the handler the signal's default action ends the session.
|
||||
## Reloading panel modules
|
||||
|
||||
```
|
||||
just install-session # or: just modules, with install-session-dev
|
||||
just install # or: just modules, with install-dev
|
||||
just reload # reload every panel module from disk
|
||||
just reload clock-digital # just one
|
||||
```
|
||||
|
||||
`just reload` runs `session/chandra-ctl reload`; `just install-session` also installs it as
|
||||
`just reload` runs `session/chandra-ctl reload`; `just install` also installs it as
|
||||
`/usr/local/bin/chandra-ctl`:
|
||||
|
||||
```
|
||||
|
||||
+4
-4
@@ -15,11 +15,11 @@ Everything below works with sudo, doas or pkexec too; run0 is only preferred whe
|
||||
## Installing the login session
|
||||
|
||||
```bash
|
||||
just install-session # or install-session-dev / install-session-native / uninstall-session
|
||||
just install # or install-dev / install-native / uninstall
|
||||
```
|
||||
|
||||
These go through `scripts/as-root`, which uses run0 if systemd is PID 1 and run0 is installed,
|
||||
else sudo, doas or pkexec (`CHANDRA_AS_ROOT=sudo just install-session` picks one). It resolves
|
||||
else sudo, doas or pkexec (`CHANDRA_AS_ROOT=sudo just install` picks one). It resolves
|
||||
the program to an absolute path first, because run0 would otherwise look it up in the service
|
||||
manager's `PATH`, and passes the installer by absolute path, so the working directory doesn't
|
||||
matter. By hand, from the checkout's root:
|
||||
@@ -28,7 +28,7 @@ matter. By hand, from the checkout's root:
|
||||
run0 python3 session/install.py # run0 keeps the working directory when the target is root
|
||||
```
|
||||
|
||||
Don't run `just` itself under run0 (`run0 just install-session`): the recipes build as you first,
|
||||
Don't run `just` itself under run0 (`run0 just install`): the recipes build as you first,
|
||||
and under run0 `just` finds neither pixi nor moon, and would leave root-owned build outputs.
|
||||
|
||||
## Starting the desktop
|
||||
@@ -38,7 +38,7 @@ run the compositor and every app as root, put the socket in root's runtime direc
|
||||
apps don't look, and write settings under `/root`; `chandra-session` refuses (override with
|
||||
`CHANDRA_ALLOW_ROOT=1` if you really mean it).
|
||||
|
||||
- **Display manager:** pick "Chandra" in the session menu (installed by `just install-session`).
|
||||
- **Display manager:** pick "Chandra" in the session menu (installed by `just install`).
|
||||
- **From a text console:** log in on the VT as yourself and run `chandra-session` (installed), or
|
||||
`just run-drm` (from the checkout). logind gives that login session the seat, which is what lets
|
||||
the compositor open the screen and input devices without being root.
|
||||
|
||||
Reference in new issue
Block a user