mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 14:26:00 +00:00
docs: preserve unrelated settings when recovering guest PATH
This commit is contained in:
1 parent
ab43524bbc
commit
2fdc8b0841
1 file changed
+12
-2
+12
-2
@@ -41,8 +41,18 @@ effects already applied to a session are not undone; stop and restart that sessi
|
|||||||
|
|
||||||
Program overrides prepend their directory to the normal session PATH, including `/usr/games`
|
Program overrides prepend their directory to the normal session PATH, including `/usr/games`
|
||||||
where Ubuntu installs `gamescopereaper`. An explicit `PATH=...` environment entry replaces that
|
where Ubuntu installs `gamescopereaper`. An explicit `PATH=...` environment entry replaces that
|
||||||
default. Keep the runtime directories when setting a custom PATH; if an old persistent override
|
default. If an old persistent PATH hides runtime tools, inspect `tools/droiddeckctl env list`
|
||||||
hides runtime tools, inspect `env list`, clear or correct that entry, and restart the session.
|
and correct only PATH with `env set --persistent`, which preserves other persistent entries.
|
||||||
|
For example, to restore the normal runtime search path:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
tools/droiddeckctl env set --persistent 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
|
||||||
|
```
|
||||||
|
|
||||||
|
Retain any custom directories you still need alongside these runtime directories, then restart
|
||||||
|
the session. `env clear persistent` removes **all** persistent environment settings, not just
|
||||||
|
PATH; there is no single-entry clear operation. Before clearing that scope, record any other
|
||||||
|
entries you want to keep and reapply them afterward.
|
||||||
|
|
||||||
Authorized command execution runs inside the runtime containing Steam's saved login. CDP evaluates
|
Authorized command execution runs inside the runtime containing Steam's saved login. CDP evaluates
|
||||||
JavaScript in the authenticated Steam client, and preferences can contain private values. These
|
JavaScript in the authenticated Steam client, and preferences can contain private values. These
|
||||||
|
|||||||
Reference in new issue
Block a user