Skip to content

Configuration

Randy Northrup edited this page Nov 24, 2026 · 3 revisions

Configuration and environment variables

Everything you normally change is in Settings (Ctrl+,), as in Teams. Most settings roam with your account through Teams' own settings services, so they follow you to Teams and back. This page covers what lives on your computer and the environment variables OST reads.

Files OST keeps

Path What
~/.config/ost/desktop.json This computer's desktop settings
~/.config/teams-cli/config.toml Account settings shared by the desktop app and teams-cli (non-secret)
~/.config/teams-cli/profiles/<name>/ The same for each extra account (profile)
System keyring (Secret Service) Sign-in tokens: service ost, one entry per profile
~/.local/state/ost/drafts.json Unsent drafts, with their formatting
~/.local/state/ost/ost-desktop.log The app's log (ost-desktop-<profile>.log for other profiles)
~/.cache/ost/photos/ Profile and team pictures (refreshed daily)
~/.cache/ost/i18n/ Language catalogs built from Teams' strings (Translations)
~/.cache/ost/models/ Downloaded models (voice isolation and others)
~/.cache/ost/backgrounds/ Teams' video backgrounds, downloaded when picked
~/.local/share/ost/backgrounds/uploads/ Video backgrounds you added
~/Downloads (or $XDG_DOWNLOAD_DIR) Downloaded files
~/.config/autostart/ost-desktop.desktop Only with Start with the computer on

The XDG_CONFIG_HOME, XDG_STATE_HOME and XDG_CACHE_HOME variables move these as usual.

Tokens are kept in the system keyring (GNOME Keyring, KWallet or another Secret Service). Without a keyring, or with OST_NO_KEYRING=1, they are written to config.toml instead, created readable by you only (0600).

Several accounts

Each account is a profile. In OST, select your picture ▸ Add another account; OST signs the new account in and opens it in its own window. To start a profile yourself:

OST_PROFILE=work ost-desktop
OST_PROFILE=work teams-cli tui

Profile names may contain letters, digits, - and _. Run one OST window per profile at a time.

Environment variables

Variable Effect
OST_PROFILE=<name> Use that account profile (see above).
OST_NO_KEYRING=1 Keep tokens in config.toml instead of the system keyring (headless machines, CI).
OST_SYSTEM_FRAME=1 Use your desktop's own window frame instead of Teams' title bar buttons.
OST_SYSTEM_NOTIFICATIONS=1 Use the desktop's notifications instead of Teams' banners.
OST_MIC_DEVICE=<name> / OST_SPEAKER_DEVICE=<name> This instance's microphone / speaker, by the name Settings lists or a PipeWire node name.
OST_CAMERA_DEVICE=/dev/videoN This instance's camera instead of Settings ▸ Devices' choice.
OST_SCREENCAST_RESTORE=<file> Share the same screen or window again without the desktop's picker (keeps the portal's restore token in that file).
OST_ROOM=1 Room mode: run as a Teams Rooms device.
OST_ROAM_DRAFTS=1 Roam drafts between devices even where Teams' feature flag is off for your tenant.
OST_QML_DIR=<dir> Development: load QML from that folder instead of the compiled-in copy.
RUST_LOG=info More logging to stderr. Logs keep to shapes and states, not message text or tokens.
QT_SCALE_FACTOR=1.5 Qt's own scaling.

A few more variables exist for protocol research and tests (OST_DUMP_RTP, OST_TROUTER_DUMP_DIR, OST_DUMP_MIC, OST_BT_ADAPTER and others); see docs/desktop.md. Some of them write message contents to disk: use them only on test accounts.

Clone this wiki locally