Skip to main content

Quick Reference

This quick reference is a condensed cheat-sheet for the most common commands, the configuration file location, key options, and troubleshooting entry points for Teams for Linux. Each item links to the fuller documentation page for detail.

Common Commands

Development and build commands, run from the repository root:

CommandWhat it does
npm startRun the app in development mode (with --trace-warnings)
npm run lintRun ESLint validation (required before commits)
npm run test:e2eRun the Playwright end-to-end tests
npm run packDevelopment build without packaging (electron-builder --dir)
npm run dist:linuxBuild Linux packages (AppImage, deb, rpm, snap)
npm run distBuild all configured platforms
npm run generate-ipc-docsRegenerate the IPC API docs after changing an IPC channel
npm run generate-release-infoRegenerate the release information file

See Contributing for the full development workflow.

Configuration File Location

User configuration lives in a config.json whose path depends on how the app was installed:

Install typePath
Vanilla (deb / rpm / AppImage)~/.config/teams-for-linux/config.json
Snap~/snap/teams-for-linux/current/.config/teams-for-linux/config.json
Flatpak~/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/teams-for-linux/config.json

A system-wide file at /etc/teams-for-linux/config.json is also read, with the user file taking precedence. See Configuration Options for the complete list of options, types, and defaults.

Frequently Used Options

Common options and what they control. Names link to the full reference for current types and defaults:

OptionPurpose
disableGpuTurn GPU/hardware acceleration off. On Wayland the app already disables the GPU by default, so set this to false to force it back on; the main lever for blank-window and rendering issues
notificationMethodChoose how notifications are delivered: web, electron, or custom
closeAppOnCrossQuit the app on window close instead of minimising to tray
trayIconEnabledShow or hide the system tray icon
emulateWinChromiumPlatformPresent a Windows Chromium user agent (workaround for Teams gating features by platform)
proxyServerRoute traffic through a proxy in address:port form

For every option, including the ones not listed here, see Configuration Options.

Jump straight to the most common fixes in the Troubleshooting Guide:

SymptomSection
Blank or black window on WaylandWayland / Display Issues
Screen sharing not workingScreen Sharing
Notifications missing or disappearingNotifications
Microsoft login or SSO problemsIntune / SSO
Custom background not applyingCustom Backgrounds