phosphor-ipc
Typed JSON-over-Unix-socket invocation channel for the shell.
Lets compositor keybinds, scripts, and other shells drive Phosphor actions by verb, for example phosphorctl call launcher.toggle. It runs alongside the D-Bus adaptors rather than replacing them. The IpcRouter listens on $XDG_RUNTIME_DIR/phosphor.sock, registers QObject targets by name, derives JSON schemas from their QMetaObject, and routes calls and broadcast events to subscribers. Plugin authors declare IpcTarget QML elements, and the phosphorctl CLI provides call, list, schema, and subscribe.
Key types
IpcRouterQLocalServer, the target registry, and subscriptions.IpcTargetemitEvent pushes events.IpcProtocolphosphorctl client.IpcSchemaGeneratorQMetaObject into JSON Schema for schema responses and arg validation.Dependencies
QtCoreQtQmlQtNetwork
See also
References
- Full API reference → Doxygen-generated page for
PhosphorIpc. - Namespace index Every symbol under
PhosphorIpc::.