Module environment
Expand description
Host inputs — who the process is, where its files live, and how its user asked to be served.
Toolkit and collab-client code take these from environment (or from
constructor parameters such as ui::record::RecordSet::open_in) rather
than reading the process environment itself. Only the native fallback
derives them from the process (process_environment, feature
native). Another host installs its own with install_environment.
Structs§
- Accessibility
Inputs - Accessibility requests the host passes to the app at startup.
- Continuation
Metadata - Inert, app-owned resume projection sent only to the local shell.
- Host
Environment - Everything the host tells a
uiprocess about itself. - Host
Identity - Who this process is and which workspace it serves.
- Host
Paths - Where this process’s user files live.
- Runner
Diagnostics - Opt-in developer diagnostics for the runner and the toolkit.
Constants§
- FONT_
INDEX_ ENV - Env var naming the font index directory, for a process the launcher puts
in a sandbox (
HostPaths::font_index).
Functions§
- environment
- The host inputs for this process: the installed ones, else — with the
nativefeature — what the native runner reads from the process, else none. - install_
environment - Install
environmentfor this process, replacing any earlier one. - media_
player_ bus_ name - The MPRIS bus name of the media player a launched package publishes:
org.mpris.MediaPlayer2.<package id>. - parse_
posix_ locale - A POSIX locale value (
de_DE.UTF-8, or aLANGUAGElist such asde:en_US, whose first entry wins) as a language identifier.C,POSIX, empty and malformed values name none. - process_
environment - The host inputs a native launcher passes through the process environment.