Configuration Options Reference (Auto-Generated)
This page is auto-generated by scripts/generateConfigDocs.js from app/config/options.js, the single source of truth for the wrapper's configuration. Do not edit it by hand. After changing an option, run npm run generate-config-docs and commit the result.
For configuration examples, file locations, and platform-specific notes, see the Configuration Options guide. This reference lists every option the wrapper defines, with its type, default, description, and apply mode. The Apply column tells you when a change takes effect: live means immediately, restart means the app must be relaunched.
Total options: 85
| Option | Type | Default | Description | Apply |
|---|---|---|---|---|
dbusControl | object | {"enabled":false,"busName":"","callParticipants":false} | Opt-in Linux user session D-Bus control and observed Teams state. Requires restart. | restart |
appActiveCheckInterval | number | 2 | A numeric value in seconds as poll interval to check if the system is active from being idle Deprecated: use idleDetection.checkInterval.detectActive instead | restart |
screenSharing | object | {"thumbnail":{"enabled":true,"alwaysOnTop":true},"resolution":{"enabled":false,"mode":"remove"},"lockInhibitionMethod":"Electron"} | Screen sharing configuration. thumbnail: controls the preview window shown during active sharing. lockInhibitionMethod: screen lock inhibition method (Electron/WakeLockSentinel). | restart |
appIcon | string | "" | Custom app icon (PNG) for the tray, the window icon on Windows and Linux, and the dock on macOS. Also settable from the App Icon menu, which on Linux can also copy it into the user icon theme (~/.local/share/icons) so the taskbar and launcher follow; those files outlive the package and are not written under Snap or Flatpak Deprecated: use tray.icon instead | live |
appIconType | string | "default" | Type of tray icon to be used Deprecated: use tray.iconType instead | restart |
appIdleTimeout | number | 300 | A numeric value in seconds as duration before app considers the system as idle Deprecated: use idleDetection.timeout instead | restart |
appIdleTimeoutCheckInterval | number | 10 | A numeric value in seconds as poll interval to check if the appIdleTimeout is reached Deprecated: use idleDetection.checkInterval.detectIdle instead | restart |
appTitle | string | "Microsoft Teams" | Replaces 'Microsoft Teams' in the window title (when changed from the default) and is used as the tray tooltip Deprecated: use app.title instead | restart |
alwaysOnTop | boolean | true | Keep the pop-out window always on top of other windows. Deprecated: use window.alwaysOnTop instead | restart |
authServerWhitelist | string | "*" | Set auth-server-whitelist value Deprecated: use auth.serverWhitelist instead | restart |
awayOnSystemIdle | boolean | false | Sets the user status as away when system goes idle Deprecated: use idleDetection.setAwayOnIdle instead | restart |
idleDetection | object | {"forceState":false,"stateFile":"/tmp/teams-for-linux-idle-state-$USER","setAwayOnIdle":false,"timeout":300,"checkInterval":{"detectIdle":10,"detectActive":2}} | Idle detection configuration. forceState: enables state file-based idle control (workaround for Wayland/Hyprland). stateFile: path to state file with $USER expansion support. setAwayOnIdle, timeout and checkInterval replace the deprecated awayOnSystemIdle, appIdleTimeout, appIdleTimeoutCheckInterval and appActiveCheckInterval options. | restart |
chromeUserAgent | string | "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<version> Safari/537.36" | Google Chrome User Agent Deprecated: use platform.chromeUserAgent instead | restart |
customBGServiceBaseUrl | string | "http://localhost" | Base URL of the server which provides custom background images Deprecated: use customBackground.serviceBaseUrl instead | restart |
customBGServiceConfigFetchInterval | number | 0 | A numeric value in seconds as poll interval to download background service config download Deprecated: use customBackground.configFetchInterval instead | restart |
customCACertsFingerprints | array | [] | Array of custom CA Certs Fingerprints to allow SSL unrecognized signer or self signed certificate Deprecated: use auth.customCACertificateFingerprints instead | restart |
customCSSName | string | "" | Packaged CSS theme name (compactDark, compactLight, tweaks, condensedDark, condensedLight), or custom:<id> for a discovered user theme. An empty name uses customCSSLocation when configured. Deprecated: use appearance.cssName instead | restart |
customCSSLocation | string | "" | custom CSS styles file location Deprecated: use appearance.cssLocation instead | restart |
customStickers | object | {"enabled":false,"folder":"","formats":["png","jpg","jpeg","gif","webp"],"urlImport":{"enabled":true,"allowedContentTypes":["image/png","image/jpeg","image/gif","image/webp"],"maxBytes":5242880}} | Custom stickers feature. enabled: master flag (off by default). folder: absolute path to the sticker folder; empty string uses <userData>/stickers/ (auto-created). formats: file extensions to scan (lowercase, no leading dot). The scanner reads the configured folder plus one level of subdirectories so packs imported under <folder>/<pack>/ are visible. urlImport: HTTPS URL import (drop or paste a URL onto the sticker panel); allowedContentTypes restricts what the wrapper will save; maxBytes caps individual file size. | restart |
disableTimestampOnCopy | boolean | false | Controls whether timestamps are included when copying messages in chats Deprecated: use platform.disableTimestampOnCopy instead | restart |
class | string | null | A custom value for the WM_CLASS property Deprecated: use window.class instead | restart |
cacheManagement | object | {"enabled":false,"maxCacheSizeMB":600,"cacheCheckIntervalMs":3600000} | Cache management configuration to prevent daily logout issues | restart |
clearStorageData | boolean | null | Flag to clear storage data. Expects an object of the type https://www.electronjs.org/docs/latest/api/session#sesclearstoragedataoptions Deprecated: use storage.clearData instead | restart |
clientCertPath | string | "" | Custom Client Certs for corporate authentication (certificate must be in pkcs12 format) Deprecated: use auth.clientCertificate.path instead | restart |
clientCertPassword | string | "" | Custom Client Certs password for corporate authentication (certificate must be in pkcs12 format) Deprecated: use auth.clientCertificate.password instead | restart |
closeAppOnCross | boolean | false | Close the app when clicking the close (X) cross Deprecated: use window.closeOnCross instead | restart |
defaultNotificationUrgency | string | "normal" | Default urgency for new notifications (low/normal/critical) Deprecated: use notifications.urgency instead | live |
defaultURLHandler | string | "" | Default application to be used to open the HTTP URLs Deprecated: use urlHandling.defaultHandler instead | restart |
disableGpu | boolean | false | A flag to disable GPU and hardware acceleration (can be useful if the window remains blank) Deprecated: use performance.disableGpu instead | restart |
download | object | {"enabled":false,"notifyOnDownloadComplete":true,"showProgressBar":true,"showTitlePrefix":true,"saveDirectory":"","alwaysAskWhereToSave":false,"openWhenDone":false} | Download manager configuration. enabled: master switch for the entire feature, defaults to false while the feature is in early development — set true to opt in. notifyOnDownloadComplete: show a system notification when a file download finishes (click opens the containing folder). showProgressBar: drive the taskbar progress bar and KDE JobView / Unity LauncherEntry signals while downloads are in flight. showTitlePrefix: also prefix the window title with [N%] as a portable fallback for environments where the other progress signals aren't rendered; set to false to keep the title untouched when KDE / Ubuntu already show progress elsewhere. saveDirectory: absolute path to always save allowed downloads into without prompting (empty string uses the OS default download directory). alwaysAskWhereToSave: show the native Save As dialog for every download (takes precedence over saveDirectory). openWhenDone: open each completed download in the OS default handler. When a download is interrupted by a Microsoft 365 / SharePoint / tenant policy the failure notification explains the likely cause and clicking it opens the file's link in your browser. All sub-flags only take effect when enabled is true. | restart |
disableNotifications | boolean | false | A flag to disable all notifications Deprecated: use notifications.enabled instead | live |
disableNotificationSound | boolean | false | Disable chat/meeting start notification sound Deprecated: use notifications.sound.enabled instead | live |
disableNotificationSoundIfNotAvailable | boolean | false | Disables notification sound unless status is Available (e.g. while in a call, busy, etc.) Deprecated: use notifications.sound.onlyWhenAvailable instead | live |
disableNotificationWindowFlash | boolean | false | A flag indicates whether to disable window flashing when there is a notification Deprecated: use notifications.windowFlash instead | live |
notifications | object | {"timeoutType":"default","electron":{"clickAction":"show"},"enabled":true,"sound":{"enabled":true,"onlyWhenAvailable":false},"windowFlash":true,"badgeCountEnabled":true,"method":"web","urgency":"normal"} | Notification behaviour. timeoutType: how long notifications stay in the system notification center (Linux/Windows only). Choices: default (auto-clear per system policy) or never (persist until the user dismisses, useful on GNOME and other desktops that auto-remove notifications). Mirrors Electron's Notification timeoutType. May not be honoured by every notification daemon. electron.clickAction: what clicking a notification does when notificationMethod is electron. Choices: show (reveal the window and let Teams open the conversation the notification came from, the default), restore (also un-minimise and focus, which helps on GNOME where a plain show does not raise the window) or none (do nothing, and do not open the conversation either). enabled, sound, windowFlash, badgeCountEnabled, method and urgency replace the deprecated disableNotifications, disableNotificationSound, disableNotificationSoundIfNotAvailable, disableNotificationWindowFlash, disableBadgeCount, notificationMethod and defaultNotificationUrgency options; the disable* booleans other than disableNotificationSoundIfNotAvailable are inverted, so disableNotifications: true becomes enabled: false. | restart |
disableBadgeCount | boolean | false | A flag indicates whether to disable the badge counter on the taskbar/dock icon Deprecated: use notifications.badgeCountEnabled instead | live |
disableGlobalShortcuts | array | [] | Array of global shortcuts to disable while the app is in focus. See https://www.electronjs.org/docs/latest/tutorial/keyboard-shortcuts#accelerators for available accelerators to use Deprecated: use shortcuts.disableWhileFocused instead | restart |
globalShortcuts | array | [] | Global keyboard shortcuts that work system-wide. Disabled by default (opt-in). See configuration docs for details and limitations Deprecated: use shortcuts.global instead | restart |
electronCLIFlags | array | [] | Electron CLI flags Deprecated: use performance.electronCLIFlags instead | restart |
emulateWinChromiumPlatform | boolean | false | Use windows platform information in chromium. This is helpful if MFA app does not support Linux. Deprecated: use platform.emulateWindowsChromium instead | restart |
enableIncomingCallToast | boolean | false | Enable incoming call toast Deprecated: use incomingCalls.toast instead | restart |
followSystemTheme | boolean | false | Follow the operating-system dark/light theme preference. Default is false; set true to drive Teams's theme from the OS preference. Deprecated: use appearance.followSystemTheme instead | restart |
frame | boolean | true | Specify false to create a Frameless Window. Default is true Deprecated: use window.frame instead | restart |
incomingCallCommand | string | null | Command to execute on an incoming call. (caution: "~" in path is not supported) Deprecated: use incomingCalls.command instead | restart |
incomingCallCommandArgs | array | [] | Arguments for the incoming call command. Deprecated: use incomingCalls.commandArgs instead | restart |
isCustomBackgroundEnabled | boolean | false | A flag indicates whether to enable custom background or not Deprecated: use customBackground.enabled instead | restart |
logConfig | object | {"transports":{"console":{"level":"info"},"file":{"level":false}}} | Electron-log configuration. See logger.js for configurable values. To disable it provide a Falsy value. | restart |
meetupJoinRegEx | string | "^https://teams\\.(?:microsoft\\.com|live\\.com|cloud\\.microsoft)/(v2/\\?meetingjoin=|meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)" | Regex for Teams meetup-join and related links Deprecated: use urlHandling.meetupJoinRegEx instead | restart |
menubar | string | "auto" | A value controls the menu bar behaviour Deprecated: use window.menubar instead | restart |
minimized | boolean | false | Start the application minimized Deprecated: use window.minimized instead | restart |
minimizeOnClose | boolean | false | Minimize the window when clicking the close (X) cross instead of hiding it to the tray (ignored when closeAppOnCross is true) Deprecated: use window.minimizeOnClose instead | restart |
notificationMethod | string | "web" | Notification method to be used by the application (web/electron/custom) Deprecated: use notifications.method instead | restart |
customNotification | object | {"toastDuration":5000,"width":360,"height":110,"position":"bottomRight","margin":0,"backgroundColor":"#2D2D2D","hoverBackgroundColor":"#3A3A3A","titleColor":"#FFFFFF","textColor":"#D1D1D1","titleFontSize":14,"bodyFontSize":13} | Custom in-app notification system configuration | restart |
onNewWindowOpenMeetupJoinUrlInApp | boolean | true | Open meetupJoinRegEx URLs in the app instead of the default browser Deprecated: use urlHandling.openMeetupJoinInApp instead | restart |
partition | string | "persist:teams-4-linux" | BrowserWindow webpreferences partition Deprecated: use app.partition instead | restart |
proxyServer | string | null | Proxy Server with format address:port Deprecated: use network.proxyServer instead | restart |
network | object | {"webRTCIPHandlingPolicy":null,"disableQuic":true,"proxyServer":null} | Network configuration. webRTCIPHandlingPolicy: WebRTC IP handling policy to control which network interfaces are used for ICE candidates. Use 'default_public_interface_only' to prevent WebRTC from advertising interfaces that have no internet route (e.g. a secondary ethernet adapter), which can cause calls to drop to OnHold due to asymmetric STUN routing. Valid values: 'default', 'default_public_and_private_interfaces', 'default_public_interface_only', 'disable_non_proxied_udp'. Disabled by default (opt-in). disableQuic: Append Chromium's --disable-quic switch at startup. Defaults to true to work around issue #2518 (concurrent SharePoint downloads abort with ERR_QUIC_PROTOCOL_ERROR on the shared QUIC session). Set to false to re-enable QUIC if a future Chromium release fixes the underlying transport bug. proxyServer: proxy server with format address:port, replacing the deprecated proxyServer option. | restart |
spellCheckerLanguages | array | [] | Array of languages to use with Electron's spell checker (experimental) Deprecated: use platform.spellCheckerLanguages instead | restart |
ssoBasicAuthUser | string | "" | User to use for SSO basic auth. Deprecated: use auth.basic.user instead | restart |
ssoBasicAuthPasswordCommand | string | "" | Command to execute to retrieve password for SSO basic auth. Deprecated: use auth.basic.passwordCommand instead | restart |
trayIconEnabled | boolean | true | Enable tray icon Deprecated: use tray.enabled instead | restart |
msTeamsProtocols | object | {"v1":"^msteams:/(?:meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)","v2":"^msteams://teams\\.(?:microsoft\\.com|live\\.com|cloud\\.microsoft)/(?:meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)"} | Regular expressions for Microsoft Teams protocol links (v1 and v2). | restart |
url | string | "https://teams.cloud.microsoft" | Microsoft Teams URL Deprecated: use app.url instead | restart |
useMutationTitleLogic | boolean | true | Use MutationObserver to update counter from title Deprecated: use tray.useMutationTitleLogic instead | restart |
watchConfigFile | boolean | false | Watch for changes in the config file and reload the app Deprecated: use development.watchConfigFile instead | restart |
webDebug | boolean | false | Enable debug at start Deprecated: use development.webDebug instead | restart |
media | object | {"microphone":{"disableAutogain":false,"speakingIndicator":false,"ignoreSystemMute":false,"overrideConstraints":{"enabled":false}},"camera":{"resolution":{"enabled":false,"mode":"remove"},"autoAdjustAspectRatio":{"enabled":false}},"video":{"menuEnabled":false},"showStatusOnDockIcon":false,"macPerformanceMode":true,"preventDeviceSwitching":false,"documentPictureInPicture":true} | Media settings for microphone, camera, and video. showStatusOnDockIcon: overlay the user presence status on the app icon (the Dock on macOS, the tray icon elsewhere). macPerformanceMode: on macOS, force-enable native hardware/rendering optimizations (Metal ANGLE, GPU rasterization, hardware WebRTC codecs) at startup; defaults to true, set false to opt out without disabling the GPU entirely. preventDeviceSwitching: prevent automatic audio/video device switching by blocking device change notifications. documentPictureInPicture: replace Electron's non-functional Document Picture-in-Picture API so Teams can show its floating call controls (Call Monitor) in a small always-on-top window; defaults to true, set false to fall back to Electron's native (broken) API. | restart |
mqtt | object | {"enabled":false,"brokerUrl":"","username":"","password":"","clientId":"teams-for-linux","topicPrefix":"teams","statusTopic":"status","commandTopic":"","statusCheckInterval":10000,"homeAssistant":{"enabled":false,"discoveryPrefix":"homeassistant","deviceName":"Teams for Linux"},"mediaTopics":{"inCall":"in-call","incomingCall":"incoming-call","meetingStarted":"meeting-started","camera":"camera","microphone":"microphone","microphoneControl":"microphone/control","screenSharing":"screen-sharing"},"incomingCallCaller":{"enabled":false},"meetingStartDetection":{"enabled":false,"patterns":["meeting started","started the meeting"],"resetSeconds":10}} | MQTT configuration for publishing Teams status updates and receiving action commands | restart |
quickChat | object | {"enabled":false} | Quick Chat configuration for quick access to chat contacts and inline messaging via Graph API | restart |
graphApi | object | {"enabled":false} | Microsoft Graph API integration for enhanced Teams functionality (calendar, user profile, etc.) | restart |
auth | object | {"intune":{"enabled":false,"user":""},"webauthn":{"enabled":false,"debug":false,"extraOrigins":[],"backend":"fido2","browserPath":""},"reauthRecovery":{"enabled":false},"clientCertificate":{"pinDialog":{"enabled":false},"path":"","password":""},"serverWhitelist":"*","basic":{"user":"","passwordCommand":"","hosts":[]},"customCACertificateFingerprints":[],"webLogin":{"user":"","passwordCommand":"","extraHosts":[],"autoSubmit":false,"verifyMethod":""},"keepMsalCacheEncryptionCookie":{"enabled":true,"days":400}} | Authentication configuration. auth.webauthn.enabled turns on hardware security key support on Linux (requires fido2-tools). auth.webauthn.debug enables verbose diagnostic logs, intended for beta testers only. auth.webauthn.extraOrigins adds exact https sign-in origins allowed to use hardware keys, for federated tenants whose FIDO2 prompt is served off the Microsoft login hosts. auth.webauthn.backend 'browser' (experimental) hands sign-in requests to a real Chrome, Edge, Chromium, Brave or Vivaldi instead of fido2-tools, which reaches a passkey on a phone (QR code); auth.webauthn.browserPath picks the browser. auth.reauthRecovery.enabled opts into the in-app re-authentication recovery feature and is off by default; while off, renderer auth-failure signals are ignored and Teams' own stale 'sign in again' banner is left untouched (you re-authenticate by relaunching, as before this feature existed). When on, a reliable MSAL InteractionRequired signal automatically clears stale auth state and reloads to force a fresh interactive login, and clicking the stale 'sign in again' banner is intercepted to recover in-app instead of opening the login popup externally. Uncaught Teams worker 'UPR' errors are noisy and fire on healthy sessions, so they never trigger an automatic reload on their own; they only help recognise a genuinely broken session for the banner interception. Interception only happens when the session has emitted a trusted auth-failure signal within the last hour, so login popups from healthy flows (initial sign-in, consent and step-up prompts, adding an account) are never diverted. During an active call, recovery is never run silently (it would end the call): the user is asked whether to sign in now, after the call, or not at all. auth.clientCertificate.pinDialog.enabled (Linux only) shows a PIN dialog for smartcard / PKCS#11 client certificates and is off by default. auth.webLogin.* pre-fills the Microsoft/federated web sign-in page so you don't retype credentials each launch: auth.webLogin.user pre-fills the email/account field, auth.webLogin.passwordCommand runs a shell command (e.g. 'pass show teams') and pre-fills its first stdout line into the password field (the app stores no secret), auth.webLogin.autoSubmit clicks through the steps, auth.webLogin.verifyMethod clicks the matching option on the MFA 'Verify your identity' page (e.g. 'Text'), and auth.webLogin.extraHosts adds login hosts beyond the Microsoft defaults. All off/empty by default. Distinct from auth.basic.*, which drive the native HTTP Basic/NTLM dialog, not the web form. auth.serverWhitelist, auth.basic.user, auth.basic.passwordCommand, auth.clientCertificate.path, auth.clientCertificate.password and auth.customCACertificateFingerprints replace the deprecated authServerWhitelist, ssoBasicAuthUser, ssoBasicAuthPasswordCommand, clientCertPath, clientCertPassword and customCACertsFingerprints options. | restart |
multiAccount | object | {"enabled":false} | Multi-account profile switcher configuration (see ADR-020). enabled: opt-in flag for the single-window multi-tenant switcher. Mutually exclusive with auth.intune.enabled; when both are true a startup warning is logged and multi-account is disabled for the session. | restart |
wayland | object | {"xwaylandOptimizations":false} | Wayland display server configuration. xwaylandOptimizations: keeps GPU enabled and skips fake media UI flag under XWayland (may fix camera issues but can break screen sharing) | restart |
shortcuts | object | {"global":[],"disableWhileFocused":[]} | Keyboard shortcut configuration. global: global keyboard shortcuts that work system-wide, disabled by default (opt-in). disableWhileFocused: global shortcuts to disable while the app is in focus. Replaces the deprecated globalShortcuts and disableGlobalShortcuts options. | restart |
storage | object | {"clearData":null} | Storage configuration. clearData: flag to clear storage data, expects an object of the type https://www.electronjs.org/docs/latest/api/session#sesclearstoragedataoptions. Replaces the deprecated clearStorageData option. | restart |
customBackground | object | {"enabled":false,"serviceBaseUrl":"http://localhost","configFetchInterval":0} | Custom background image configuration. Replaces the deprecated isCustomBackgroundEnabled, customBGServiceBaseUrl and customBGServiceConfigFetchInterval options. | restart |
urlHandling | object | {"defaultHandler":"","meetupJoinRegEx":"^https://teams\\.(?:microsoft\\.com|live\\.com|cloud\\.microsoft)/(v2/\\?meetingjoin=|meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)","openMeetupJoinInApp":true} | How the app decides which URLs it opens itself and which it hands to the desktop. Replaces the deprecated defaultURLHandler, meetupJoinRegEx and onNewWindowOpenMeetupJoinUrlInApp options. | restart |
incomingCalls | object | {"toast":false,"command":null,"commandArgs":[]} | Incoming call notification and external command configuration. Replaces the deprecated enableIncomingCallToast, incomingCallCommand and incomingCallCommandArgs options. | restart |
appearance | object | {"cssName":"","cssLocation":"","followSystemTheme":false} | Custom CSS and theme configuration. Replaces the deprecated customCSSName, customCSSLocation and followSystemTheme options. | restart |
platform | object | {"chromeUserAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<version> Safari/537.36","emulateWindowsChromium":false,"spellCheckerLanguages":[],"disableTimestampOnCopy":false,"disableUrlPreviews":false} | Platform emulation and OS integration configuration. Replaces the deprecated chromeUserAgent, emulateWinChromiumPlatform, spellCheckerLanguages and disableTimestampOnCopy options. | restart |
app | object | {"title":"Microsoft Teams","url":"https://teams.cloud.microsoft","partition":"persist:teams-4-linux"} | Core application identity and the Teams URL it loads. Replaces the deprecated appTitle, url and partition options. | restart |
window | object | {"frame":true,"titleBar":"system","menubar":"auto","minimized":false,"closeOnCross":false,"minimizeOnClose":false,"alwaysOnTop":true,"class":null} | Main window geometry, decoration and close behaviour. Replaces the deprecated frame, menubar, minimized, closeAppOnCross, minimizeOnClose, alwaysOnTop and class options. | restart |
tray | object | {"enabled":true,"icon":"","iconType":"default","useMutationTitleLogic":true} | Tray icon configuration. Replaces the deprecated trayIconEnabled, appIcon, appIconType and useMutationTitleLogic options. | restart |
performance | object | {"disableGpu":false,"electronCLIFlags":[]} | GPU and Chromium startup flag configuration. Replaces the deprecated disableGpu and electronCLIFlags options. | restart |
development | object | {"webDebug":false,"watchConfigFile":false} | Debugging and development aids. Replaces the deprecated webDebug and watchConfigFile options. | restart |
Nested fields (object options)
Object options group several related settings. The tables below list each nested field with its type and the default derived from the option's default object.
dbusControl
| Field | Type | Default | Description |
|---|---|---|---|
dbusControl.enabled | boolean | false | Enable the Linux D-Bus service and its local status monitors. |
dbusControl.busName | string | "" | Well-known D-Bus service name for this instance. Empty uses FLATPAK_ID or com.github.IsmaelMartinez.teams_for_linux. Use distinct names for separately launched profiles; invalid names disable the service. |
dbusControl.callParticipants | boolean | false | Also publish the names of remote call participants on the stage and who is speaking (CallParticipantsChanged). Names are visible to every process on your session bus. Reads Teams call markup, which can change without notice (experimental). |
screenSharing
| Field | Type | Default | Description |
|---|---|---|---|
screenSharing.thumbnail.enabled | boolean | true | Automatically show the preview thumbnail window when screen sharing starts. |
screenSharing.thumbnail.alwaysOnTop | boolean | true | Keep the screen sharing thumbnail window always on top. |
screenSharing.resolution.enabled | boolean | false | Enable screen sharing resolution control. When false, Teams' resolution constraints are left unchanged. |
screenSharing.resolution.mode | string | "remove" | Resolution mode: remove disables Teams' screen sharing limits so capture can use its native resolution; override requests the configured width and height as a ceiling. |
screenSharing.resolution.width | number | undefined | Target screen sharing width when mode is override; used with height as the maximum requested resolution. |
screenSharing.resolution.height | number | undefined | Target screen sharing height when mode is override; used with width as the maximum requested resolution. |
screenSharing.lockInhibitionMethod | string | "Electron" | Screen lock inhibition method used while sharing. |
idleDetection
| Field | Type | Default | Description |
|---|---|---|---|
idleDetection.setAwayOnIdle | boolean | false | Sets the user status as away when system goes idle |
idleDetection.timeout | number | 300 | A numeric value in seconds as duration before app considers the system as idle |
idleDetection.checkInterval.detectIdle | number | 10 | Poll interval in seconds while active, watching for the system to go idle (when idleDetection.timeout is reached) |
idleDetection.checkInterval.detectActive | number | 2 | Poll interval in seconds while idle, watching for the system to become active again |
idleDetection.forceState | boolean | false | Enable state file-based idle state control (workaround for Wayland/Hyprland). |
idleDetection.stateFile | string | "/tmp/teams-for-linux-idle-state-$USER" | Path to the idle state file (supports $USER expansion). |
customStickers
| Field | Type | Default | Description |
|---|---|---|---|
customStickers.enabled | boolean | false | Master flag for the custom stickers feature. |
customStickers.folder | string | "" | Absolute path to the sticker folder; empty string uses <userData>/stickers/, created on first run if missing. |
customStickers.formats | array | ["png","jpg","jpeg","gif","webp"] | File extensions the scanner accepts (lowercase, no leading dot); the scanner reads the configured folder plus one level of subdirectories. |
customStickers.urlImport.enabled | boolean | true | Allow importing stickers from HTTPS URLs via the panel header input or by dropping a URL on the panel. |
customStickers.urlImport.allowedContentTypes | array | ["image/png","image/jpeg","image/gif","image/webp"] | Response content-types the wrapper will accept and save when importing from a URL. |
customStickers.urlImport.maxBytes | number | 5242880 | Per-file size cap in bytes for URL imports; larger responses are rejected. |
cacheManagement
| Field | Type | Default | Description |
|---|---|---|---|
cacheManagement.enabled | boolean | false | Enable automatic cache management to prevent daily logout issues. |
cacheManagement.maxCacheSizeMB | number | 600 | Maximum cache size in MB before cleanup runs. |
cacheManagement.cacheCheckIntervalMs | number | 3600000 | How often the cache size is checked, in milliseconds. |
download
| Field | Type | Default | Description |
|---|---|---|---|
download.enabled | boolean | false | Master switch for the download feedback feature; sub-flags only take effect when this is true. |
download.notifyOnDownloadComplete | boolean | true | Show a system notification when a file download finishes (click opens the containing folder). |
download.showProgressBar | boolean | true | Drive the taskbar progress bar and KDE JobView / Unity LauncherEntry signals while downloads are in flight. |
download.showTitlePrefix | boolean | true | Prefix the main window title with download progress as a portable fallback where other progress signals are not rendered. |
notifications
| Field | Type | Default | Description |
|---|---|---|---|
notifications.timeoutType | string | "default" | How long notifications stay in the system notification center (Linux/Windows only); may not be honoured by every notification daemon. |
notifications.electron.clickAction | string | "show" | What clicking an Electron notification does (notificationMethod electron only): show reveals the window and lets Teams open the sending conversation (default), restore also un-minimises and focuses it (helps on GNOME), none does nothing at all. |
notifications.enabled | boolean | true | Show notifications; set false to disable all notifications |
notifications.sound.enabled | boolean | true | Play the chat/meeting start notification sound |
notifications.sound.onlyWhenAvailable | boolean | false | Play the notification sound only while status is Available (not while in a call, busy, etc.) |
notifications.windowFlash | boolean | true | Flash the window when there is a notification |
notifications.badgeCountEnabled | boolean | true | Show the badge counter on the taskbar/dock icon |
notifications.method | string | "web" | Notification method to be used by the application (web/electron/custom) |
notifications.urgency | string | "normal" | Default urgency for new notifications (low/normal/critical) |
logConfig
| Field | Type | Default | Description |
|---|---|---|---|
logConfig.transports.console.level | `string | boolean` | "info" |
logConfig.transports.file.level | `string | boolean` | false |
customNotification
| Field | Type | Default | Description |
|---|---|---|---|
customNotification.toastDuration | number | 5000 | Time in milliseconds before a custom toast notification auto-dismisses. |
customNotification.width | number | 360 | Toast width in pixels (200 to 1000). |
customNotification.height | number | 110 | Toast height in pixels (80 to 600). A taller toast shows more lines of the message. |
customNotification.position | string | "bottomRight" | Screen corner the toast appears in. |
customNotification.margin | number | 0 | Gap in pixels between the toast and the screen edges (0 to 500). Raise it if the toast covers a panel or dock. |
customNotification.backgroundColor | string | "#2D2D2D" | Toast background, any CSS colour (e.g. "#5B5FC7"). |
customNotification.hoverBackgroundColor | string | "#3A3A3A" | Toast background while the pointer is over it, any CSS colour. |
customNotification.titleColor | string | "#FFFFFF" | Title text colour, any CSS colour. |
customNotification.textColor | string | "#D1D1D1" | Message text colour, any CSS colour. |
customNotification.titleFontSize | number | 14 | Title font size in pixels (8 to 40). |
customNotification.bodyFontSize | number | 13 | Message font size in pixels (8 to 40). |
network
| Field | Type | Default | Description |
|---|---|---|---|
network.webRTCIPHandlingPolicy | string | null | WebRTC IP handling policy controlling which network interfaces are used for ICE candidate gathering. |
network.disableQuic | boolean | true | Append Chromium's --disable-quic switch at startup to work around QUIC protocol errors (issue #2518). |
network.proxyServer | string | null | Proxy Server with format address:port |
msTeamsProtocols
| Field | Type | Default | Description |
|---|---|---|---|
msTeamsProtocols.v1 | string | "^msteams:/(?:meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)" | Regular expression matching legacy msteams: scheme protocol links. |
msTeamsProtocols.v2 | string | "^msteams://teams\\.(?:microsoft\\.com|live\\.com|cloud\\.microsoft)/(?:meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)" | Regular expression matching host-based msteams:// scheme protocol links. |
media
| Field | Type | Default | Description |
|---|---|---|---|
media.microphone.disableAutogain | boolean | false | Disable microphone auto gain control so Teams does not automatically adjust microphone volume levels. |
media.microphone.speakingIndicator | boolean | false | Enable a visual overlay showing microphone state during calls (speaking/silent/muted) with WebRTC-based call state detection. |
media.microphone.ignoreSystemMute | boolean | false | Stop Teams' mute button from following the operating system microphone mute on Linux. Chromium reports the OS capture-source mute to the page as a track mute event and Teams mirrors it onto its own button; enable this to keep the Teams button where you left it and rely solely on your system/hotkey mute (which still cuts the transmitted audio). Remote participants' mute state is unaffected. |
media.microphone.overrideConstraints.enabled | boolean | false | Enable overriding the microphone audio constraints Teams requests via getUserMedia; only the keys you set are overridden. |
media.microphone.overrideConstraints.echoCancellation | boolean | undefined | When set, overrides getUserMedia's echoCancellation constraint; omit to leave it untouched. |
media.microphone.overrideConstraints.noiseSuppression | boolean | undefined | When set, overrides getUserMedia's noiseSuppression constraint; omit to leave it untouched. |
media.microphone.overrideConstraints.autoGainControl | boolean | undefined | When set, overrides getUserMedia's autoGainControl constraint (takes precedence over disableAutogain); omit to leave it untouched. |
media.microphone.overrideConstraints.channelCount | number | undefined | When set, pins the microphone channel count (typically 1 or 2); omit to leave it untouched. |
media.microphone.overrideConstraints.sampleRate | number | undefined | When set, pins the microphone sample rate in Hz (e.g. 48000); omit to leave it untouched. |
media.camera.resolution.enabled | boolean | false | Enable camera resolution control. |
media.camera.resolution.mode | string | "remove" | Resolution mode: remove strips Teams' constraints to allow native camera resolution, override sets a specific width/height. |
media.camera.resolution.width | number | undefined | Target camera width when mode is override. |
media.camera.resolution.height | number | undefined | Target camera height when mode is override. |
media.camera.autoAdjustAspectRatio.enabled | boolean | false | Reapply proper aspect ratio constraints to fix camera video stretching when moving Teams between monitors with different orientations. |
media.video.menuEnabled | boolean | false | Enable the menu entry for controlling video elements (PiP mode, video controls). |
media.showStatusOnDockIcon | boolean | false | Overlay the user presence status on the app icon: the Dock on macOS, the tray icon on the platforms that have no Dock. While the dot is drawn the unread badge moves to the other corner. |
media.macPerformanceMode | boolean | true | On macOS, force-enable native hardware/rendering optimizations (Metal ANGLE, GPU rasterization, hardware WebRTC codecs) at startup; set false to opt out without disabling the GPU entirely. |
mqtt
| Field | Type | Default | Description |
|---|---|---|---|
mqtt.enabled | boolean | false | Enable the MQTT integration (status publishing and command reception). |
mqtt.brokerUrl | string | "" | MQTT broker URL, e.g. mqtt://host:1883 or mqtts://host:8883 for TLS. |
mqtt.username | string | "" | MQTT username for authentication (optional). |
mqtt.password | string | "" | MQTT password for authentication (optional). |
mqtt.clientId | string | "teams-for-linux" | Unique MQTT client identifier. |
mqtt.topicPrefix | string | "teams" | Topic prefix for all MQTT messages. |
mqtt.statusTopic | string | "status" | Topic name for outbound status messages, combined with topicPrefix. |
mqtt.commandTopic | string | "" | Topic name for receiving inbound commands; leave empty to disable (status-only mode). |
mqtt.statusCheckInterval | number | 10000 | Polling interval in milliseconds for the status detection fallback. |
mqtt.homeAssistant.enabled | boolean | false | Enable Home Assistant MQTT auto-discovery so entities are created automatically. |
mqtt.homeAssistant.discoveryPrefix | string | "homeassistant" | MQTT discovery topic prefix used by Home Assistant. |
mqtt.homeAssistant.deviceName | string | "Teams for Linux" | Device name shown in Home Assistant. |
mqtt.incomingCallCaller.enabled | boolean | false | Publish the ringing call's caller (name, number, call queue) as JSON to the incoming-call/caller topic. Off by default because it sends callers' personal details to the broker. |
mqtt.meetingStartDetection.enabled | boolean | false | Enable detection of a scheduled meeting starting (Teams' meeting-start banner/toast), published as a pulse to the meeting-started topic (experimental, see issue #2587). |
mqtt.meetingStartDetection.patterns | array | ["meeting started","started the meeting"] | Case-insensitive regular expressions for the DOM fallback, matched against banner/toast text. Primary detection uses Teams' internal command stream and needs no patterns; the defaults only cover English Teams, override for other UI languages. |
mqtt.meetingStartDetection.resetSeconds | number | 10 | Seconds after which the meeting-started topic resets to false if you never join. Joining the call resets it immediately, whichever comes first. |
quickChat
| Field | Type | Default | Description |
|---|---|---|---|
quickChat.enabled | boolean | false | Enable the Quick Chat feature for quick contact search and chat access. |
quickChat.shortcut | string | undefined | Keyboard shortcut to toggle the Quick Chat modal (e.g. CommandOrControl+Alt+Q); unset by default. |
graphApi
| Field | Type | Default | Description |
|---|---|---|---|
graphApi.enabled | boolean | false | Enable the Microsoft Graph API integration for calendar and mail access. |
auth
| Field | Type | Default | Description |
|---|---|---|---|
auth.intune.enabled | boolean | false | Enable Single-Sign-On using Microsoft Intune. |
auth.intune.user | string | "" | User (e-mail) to use for Intune SSO. |
auth.webauthn.enabled | boolean | false | Enable FIDO2 hardware security key support for WebAuthn authentication on Linux (requires fido2-tools). |
auth.webauthn.debug | boolean | false | Enable verbose WebAuthn diagnostic logging, intended for beta testers troubleshooting key registration. |
auth.webauthn.backend | string | "fido2" | Which backend answers security key and passkey requests on Linux: 'fido2' (default, USB keys through fido2-tools) or 'browser' (experimental: a real Chrome, Edge, Chromium, Brave or Vivaldi window opens for the request, with a throwaway profile, and shows its own dialog, including the QR code for a passkey on a phone; sign-in only, passkeys are registered in a browser). |
auth.webauthn.browserPath | string | "" | Browser for auth.webauthn.backend 'browser': an absolute path or a command on PATH. Empty (default) = the first of google-chrome-stable, google-chrome, microsoft-edge-stable, microsoft-edge, chromium, chromium-browser, brave-browser, vivaldi-stable, vivaldi found on PATH. |
auth.webauthn.extraOrigins | array | [] | Extra sign-in origins allowed to use hardware security keys, in addition to the built-in Microsoft login origins (https://login.microsoftonline.com, https://login.microsoft.com, https://login.live.com). Add your federated IdP origin if the FIDO2 prompt happens off the Microsoft hosts. Exact https origins only: scheme, host and, where the IdP is not on 443, its port (e.g. 'https://sso.example.com' or 'https://sso.example.com:8443'). Wildcards, paths and http entries are ignored. |
auth.reauthRecovery.enabled | boolean | false | Opt into in-app recovery from stale sessions by intercepting the stale 'sign in again' login popup and recovering in-app. |
auth.clientCertificate.pinDialog.enabled | boolean | false | Show a PIN dialog for smartcard / PKCS#11 client certificates on Linux (issue #2639); off by default. Has no effect on macOS or Windows, which provide native PIN prompts. |
auth.clientCertificate.path | string | "" | Custom Client Certs for corporate authentication (certificate must be in pkcs12 format) |
auth.clientCertificate.password | string | "" | Custom Client Certs password for corporate authentication (certificate must be in pkcs12 format) |
auth.serverWhitelist | string | "*" | Set auth-server-whitelist value |
auth.basic.user | string | "" | User to use for SSO basic auth. |
auth.basic.passwordCommand | string | "" | Command to execute to retrieve password for SSO basic auth. |
auth.basic.hosts | array | [] | Hostnames (or parent domains) allowed to receive the basic auth credentials or the login dialog, for example your ADFS host. Empty answers any HTTPS server that asks. Proxy challenges are always answered, and cleartext HTTP servers never are. |
auth.customCACertificateFingerprints | array | [] | Array of custom CA Certs Fingerprints to allow SSL unrecognized signer or self signed certificate |
auth.webLogin.user | string | "" | Email/username pre-filled into the account field of the web sign-in page when it is empty. Empty disables it. |
auth.webLogin.passwordCommand | string | "" | Command whose first stdout line is pre-filled into the web sign-in password field. Runs in a shell; use your own password manager (e.g. 'pass show teams'). Empty disables it. The app stores no secret. |
auth.webLogin.extraHosts | array | [] | Extra hostnames (or parent domains) to treat as sign-in pages, in addition to the built-in Microsoft login hosts (login.microsoftonline.com, login.microsoft.com, login.live.com). Add your federated IdP host if sign-in happens off the Microsoft hosts. |
auth.webLogin.autoSubmit | boolean | false | Automatically advance the web sign-in: click Next after the email and Sign in after the password. Off by default so you review and submit yourself. |
auth.webLogin.verifyMethod | string | "" | On the 'Verify your identity' (MFA) page, click the option whose label starts with this text, e.g. 'Text' for SMS. Empty disables it. Best-effort text match against the Microsoft method list. |
auth.keepMsalCacheEncryptionCookie.enabled | boolean | true | Sets an expiration date for the 'msal.cache.encryption' cookie to keep it after restarts (issue #2681); on by default. Set to false to keep the cookie session-scoped, at the cost of signing in again after every restart |
auth.keepMsalCacheEncryptionCookie.days | number | 400 | Sets the amount of days the 'msal.cache.encryption' cookie should be kept; defaults to 400 |
multiAccount
| Field | Type | Default | Description |
|---|---|---|---|
multiAccount.enabled | boolean | false | Opt-in flag for the single-window multi-account profile switcher; mutually exclusive with auth.intune.enabled. |
wayland
| Field | Type | Default | Description |
|---|---|---|---|
wayland.xwaylandOptimizations | boolean | false | Keep GPU enabled and skip the fake media UI flag under XWayland; may fix camera issues but can break screen sharing. |
shortcuts
| Field | Type | Default | Description |
|---|---|---|---|
shortcuts.global | array | [] | Global keyboard shortcuts that work system-wide. Disabled by default (opt-in). See configuration docs for details and limitations |
shortcuts.disableWhileFocused | array | [] | Array of global shortcuts to disable while the app is in focus. See https://www.electronjs.org/docs/latest/tutorial/keyboard-shortcuts#accelerators for available accelerators to use |
storage
| Field | Type | Default | Description |
|---|---|---|---|
storage.clearData | `boolean | object` | null |
customBackground
| Field | Type | Default | Description |
|---|---|---|---|
customBackground.enabled | boolean | false | A flag indicates whether to enable custom background or not |
customBackground.serviceBaseUrl | string | "http://localhost" | Base URL of the server which provides custom background images |
customBackground.configFetchInterval | number | 0 | A numeric value in seconds as poll interval to download background service config download |
urlHandling
| Field | Type | Default | Description |
|---|---|---|---|
urlHandling.defaultHandler | string | "" | Default application to be used to open the HTTP URLs |
urlHandling.meetupJoinRegEx | string | "^https://teams\\.(?:microsoft\\.com|live\\.com|cloud\\.microsoft)/(v2/\\?meetingjoin=|meet/|l/(?:app|call|channel|chat|entity|file|meet(?:ing|up-join)|message|task|team)/)" | Regex for Teams meetup-join and related links |
urlHandling.openMeetupJoinInApp | boolean | true | Open meetupJoinRegEx URLs in the app instead of the default browser |
incomingCalls
| Field | Type | Default | Description |
|---|---|---|---|
incomingCalls.toast | boolean | false | Enable incoming call toast |
incomingCalls.command | string | null | Command to execute on an incoming call. (caution: "~" in path is not supported) |
incomingCalls.commandArgs | array | [] | Arguments for the incoming call command. |
appearance
| Field | Type | Default | Description |
|---|---|---|---|
appearance.cssName | string | "" | Packaged CSS theme name (compactDark, compactLight, tweaks, condensedDark, condensedLight), or custom:<id> for a discovered user theme. An empty name uses appearance.cssLocation when configured. |
appearance.cssLocation | string | "" | custom CSS styles file location |
appearance.followSystemTheme | boolean | false | Follow the operating-system dark/light theme preference. Default is false; set true to drive Teams's theme from the OS preference. |
platform
| Field | Type | Default | Description |
|---|---|---|---|
platform.chromeUserAgent | string | "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<version> Safari/537.36" | Google Chrome User Agent |
platform.emulateWindowsChromium | boolean | false | Use windows platform information in chromium. This is helpful if MFA app does not support Linux. |
platform.spellCheckerLanguages | array | [] | Array of languages to use with Electron's spell checker (experimental) |
platform.disableTimestampOnCopy | boolean | false | Controls whether timestamps are included when copying messages in chats |
platform.disableUrlPreviews | boolean | false | Keep pasted links as plain URLs: block the Teams URL preview lookup that replaces them with the page title and adds a preview card |
app
| Field | Type | Default | Description |
|---|---|---|---|
app.title | string | "Microsoft Teams" | Replaces 'Microsoft Teams' in the window title (when changed from the default) and is used as the tray tooltip |
app.url | string | "https://teams.cloud.microsoft" | Microsoft Teams URL |
app.partition | string | "persist:teams-4-linux" | BrowserWindow webpreferences partition |
window
| Field | Type | Default | Description |
|---|---|---|---|
window.frame | boolean | true | Specify false to create a Frameless Window. Default is true |
window.titleBar | string | "system" | Title bar style. "system" uses the desktop's title bar; "integrated" hides it and draws the window controls over the Teams top bar, like the official Windows client (Linux and Windows; ignored on macOS and when frame is false) |
window.menubar | string | "auto" | A value controls the menu bar behaviour |
window.minimized | boolean | false | Start the application minimized |
window.closeOnCross | boolean | false | Close the app when clicking the close (X) cross |
window.minimizeOnClose | boolean | false | Minimize the window when clicking the close (X) cross instead of hiding it to the tray (ignored when closeAppOnCross is true) |
window.alwaysOnTop | boolean | true | Keep the pop-out window always on top of other windows. |
window.class | string | null | A custom value for the WM_CLASS property |
tray
| Field | Type | Default | Description |
|---|---|---|---|
tray.enabled | boolean | true | Enable tray icon |
tray.icon | string | "" | Custom app icon (PNG) for the tray, the window icon on Windows and Linux, and the dock on macOS. Also settable from the App Icon menu, which on Linux can also copy it into the user icon theme (~/.local/share/icons) so the taskbar and launcher follow; those files outlive the package and are not written under Snap or Flatpak |
tray.iconType | string | "default" | Type of tray icon to be used |
tray.useMutationTitleLogic | boolean | true | Use MutationObserver to update counter from title |
performance
| Field | Type | Default | Description |
|---|---|---|---|
performance.disableGpu | boolean | false | A flag to disable GPU and hardware acceleration (can be useful if the window remains blank) |
performance.electronCLIFlags | array | [] | Electron CLI flags |
development
| Field | Type | Default | Description |
|---|---|---|---|
development.webDebug | boolean | false | Enable debug at start |
development.watchConfigFile | boolean | false | Watch for changes in the config file and reload the app |
Generated by scripts/generateConfigDocs.js from app/config/options.js.