Environment variables#
Set by carrot#
| Variable | Value |
|---|---|
WAYLAND_DISPLAY | the socket name, wayland-N |
XDG_CURRENT_DESKTOP | carrot |
XDG_SESSION_TYPE | wayland |
LIBEI_SOCKET | eis-0, the input-injection socket |
DISPLAY | :100..:199, set on spawned children once XWayland is up |
WAYLAND_DISPLAY, XDG_CURRENT_DESKTOP, and DISPLAY are also pushed to D-Bus activation and the systemd user manager, so portals and services started by the bus land in the session.
Read by carrot#
| Variable | Effect |
|---|---|
XDG_RUNTIME_DIR | where every socket lives (wayland, IPC, eis) |
XDG_CONFIG_HOME, HOME | config directory resolution |
XDG_SESSION_ID | which logind session to claim; falls back to by-PID lookup |
XKB_DEFAULT_LAYOUT, XKB_DEFAULT_VARIANT, XKB_DEFAULT_RULES, XKB_DEFAULT_MODEL, XKB_DEFAULT_OPTIONS | keymap selection; all empty means the embedded US keymap |
XKB_CONFIG_ROOT | where xkeyboard-config lives, for non-default layouts |
VK_ICD_FILENAMES | extra Vulkan ICD manifests to consider first |
CARROT_LIBC, CARROT_LIBM | explicit paths to taproot's libc.so.6 / libm.so.6 for the GPU driver |
DBUS_SESSION_BUS_ADDRESS, DBUS_SYSTEM_BUS_ADDRESS | bus endpoints; session falls back to $XDG_RUNTIME_DIR/bus |
PIPEWIRE_REMOTE, PIPEWIRE_RUNTIME_DIR | which PipeWire daemon screencasts connect to |
XCURSOR_THEME, XCURSOR_SIZE, XCURSOR_PATH, XDG_DATA_DIRS | cursor theme resolution |
XAUTHORITY | X authority file, probe tooling only |