Introducing a new way to review your PRs.

Read the announcement

ismaelmartinez / teams-for-linux

Unofficial Microsoft Teams for Linux client

View on GitHub

23 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Teams for Linux knowledge base

Orientation

Teams for Linux is an Electron desktop host for Microsoft Teams. It owns the native application lifecycle, settings and profile state, while embedding Teams web workspaces in profile-backed browser views.

The main process coordinates windows, authentication, notifications, media sharing, menus, tray state, and platform services. Preload and browser-side code bridge the embedded Teams client to carefully scoped desktop capabilities.

Critical persistent state is configuration and user-profile data; the active workspace, unread status, authentication windows, and native controls are derived from that state at runtime.

System map

flowchart TD
  User[Desktop user] --> Shell[Electron application shell]
  Shell --> Config[Configuration lifecycle]
  Shell --> Profiles[Profile workspaces]
  Profiles --> Teams[Embedded Teams web client]
  Shell --> Auth[Authentication and SSO]
  Teams --> Events[Connectivity and realtime events]
  Events --> Alerts[Notifications and call alerts]
  Teams --> Media[Screen sharing and media]
  Shell --> Native[Menus tray and native controls]
  Native --> DBus[DBus control services]
  Shell --> APIs[IPC security and Graph APIs]
  Teams --> Browser[Browser integration and tools]
  Shell --> Enterprise[Enterprise device management]
  Shell --> Release[Packaging updates and quality]

Glossary

  • Profile workspace: A profile-specific embedded Teams view and the desktop state associated with it.
  • Profile view attachment: Connecting the selected profile's browser view to the main Electron window.
  • Unread aggregation: Combining workspace unread state into a profile- and tray-visible indicator.
  • Preload boundary: The constrained interface between privileged Electron code and a renderer or embedded web page.
  • DBus control surface: The opt-in desktop-automation interface exposed through DBus services.

Codebase-wide invariants

  • Privileged desktop operations cross an explicit IPC/preload boundary; see src/**/*preload* and src/**/*ipc*.
  • Settings must pass the configuration lifecycle before becoming runtime behavior; see src/**/*config* and src/**/*settings*.
  • Workspace behavior is scoped to the active user profile; see src/**/*profile*.
  • Native notifications, tray state, and menus are desktop-shell projections of application state; see src/**/*notification*, src/**/*tray*, and src/**/*menu*.
  • Release artifacts are produced and checked through packaging and test automation; see package.json, electron-builder.*, and .github/workflows/**.

Routing table