Skip to main content

Module environment

Module environment 

Source
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 rather than reading the process environment. Only the native fallback derives them from the process ([process_environment], feature native); another host installs its own with install_environment.

Structs§

AccessibilityInputs
ContinuationMetadata
Inert, app-owned resume projection sent only to the local shell: the bytes are opaque to the toolkit, so each app can version its own schema, and the shell validates size and path redaction before keeping them.
ProcessEnvironment
ProcessIdentity
Who this process is and which workspace it serves; every field is optional, and each reader applies its own fallback.
ProcessPaths
RunnerDiagnostics

Constants§

FONTS_REQUIRED_ENV
TILO_REQUIRE_FONTS=1 promises every process that sets text the product’s font catalog, as TILO_REQUIRE_GPU=1 promises a GPU: a test run sets it.
FONT_INDEX_ENV
Env var naming the font index directory, for a process the launcher puts in a sandbox (ProcessPaths::font_index).
NO_WINDOW_ENV
The variable a launch sets (1) for a process started with no window: the app takes its actions and publishes what it offers, and makes a window only once a shell asks it for one.
NO_WINDOW_IDLE_ENV
The seconds a process the daemon started with no window runs on with no call for, after which it ends: the daemon starts it again on the next call. A process the session starts with no window is given none, and runs until the session ends it.
REVEAL_ENV

Functions§

environment
The host inputs for this process: the installed ones, else (with native) what the runner reads from the process environment afresh on each call, else none.
install_environment
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 a LANGUAGE list such as de:en_US, whose first entry wins) as a language identifier. C, POSIX, empty and malformed values name none.