Environment variables
Solanum reads a few settings from its environment, on your computer and on the machines it runs a server on. Most people never set one.
Set a variable
Set it where Solanum starts. For the desktop app, that is the environment the app is opened from. For a server you start yourself, set it on the command:
sh
SOLANUM_BROWSER_SANDBOX=0 solanum serveA variable that names a program takes its path, or its name where it's on your PATH.
The variables
| Variable | What it does |
|---|---|
SOLANUM_DATA_DIR | The data folder the solanum command works on: serve, pair, pairing and triage. --data-dir on the command comes first. |
SOLANUM_TERMINAL_SHELL | The shell Solanum's terminals start, in place of the one it would choose. |
SOLANUM_BROWSER_SANDBOX | Set to 0 to run a server's browser without Chrome's sandbox, on a machine that doesn't allow unprivileged user namespaces. |
SOLANUM_SSH_PROGRAM | The ssh Solanum reaches machines with. ssh unless set. |
SOLANUM_WSL_PROGRAM | The wsl.exe Solanum starts its WSL backend with. |
SOLANUM_TAILSCALE_PROGRAM | The tailscale Solanum asks for this computer's tailnet address and HTTPS. |
SOLANUM_SERVER_RELEASES | Where Solanum's server is downloaded from when it's installed on a machine or updated there. |
SOLANUM_SYSTEMCTL_PROGRAM | The systemctl that solanum service manages the background service with, on Linux. |
SOLANUM_LOGINCTL_PROGRAM | The loginctl that solanum service install turns lingering on with, on Linux. |
SOLANUM_LAUNCHCTL_PROGRAM | The launchctl that solanum service manages the background service with, on macOS. |