Custom user experience
Custom user experience features let an engineer or an organisation tailor the desktop Teams session without changing the Teams service. They add optional visual changes, local media shortcuts, writing support, hardware diagnostics, presence rules, and system-wide key actions around the main Teams workspace. These settings are part of the wider configuration and customization model; their load and restart behavior follows the configuration lifecycle.
Feature scope
The features in this page sit around the Teams web view. They are off by default unless a setting enables them, and most changes take effect after the application restarts.
Customization model
The application reads these options during startup and connects each enabled option to either the Teams view, the desktop shell, or the operating system. This keeps optional behavior separate from the Teams account while still allowing it to affect the user's view, input, and presence.
| Area | User outcome | Main setting group |
|---|---|---|
| Appearance | Change the Teams look or follow the system theme | appearance |
| Meeting backgrounds | Offer images from a local or remote image service | customBackground |
| Stickers | Paste saved images into the active chat | customStickers |
| Writing | Select languages for native spell-check support | platform.spellCheckerLanguages |
| Graphics support | Inspect Chromium GPU and acceleration state | Debug menu and performance.disableGpu |
| Presence | Mark the user away after system inactivity | awayOnSystemIdle and idleDetection |
| Keyboard input | Trigger Teams shortcuts while another app has focus | shortcuts |
The current nested option names are preferred for new configuration. Older flat names remain part of the migration path for several of these features, so the configuration lifecycle page is the right place to understand precedence and rename rules.
References: app/…/options.js• L1117-1181 app/…/options.js• L1233-1289 app/…/renames.js• L24-80
Startup and user flow
The application prepares enabled services before the Teams workspace is ready, then the user reaches each feature through the Teams view, an app menu, or a system event. This diagram shows how configuration becomes a user-facing action.
flowchart LR
C[Configuration] --> S[Application startup]
S --> V[Teams view]
S --> M[Desktop menu]
S --> O[Operating system]
V --> A[Appearance, backgrounds, stickers, writing]
M --> G[GPU information]
O --> I[Idle state and global shortcuts]
References: app/index.js• L661-700 app/index.js• L724-737 app/…/index.js• L929-1050
Visual customization
Visual customization changes how the Teams workspace looks without changing its service data. It has two separate paths: CSS and meeting background images.
Custom CSS
The appearance settings select either a packaged style or a CSS file supplied by the user. The style is applied to the main Teams content and to relevant embedded frames, so it can change layout and presentation across the desktop view. appearance.followSystemTheme lets the application use the operating system's light or dark preference as the Teams theme source.
Packaged styles include compact, condensed, and general tweak variants. A custom file is more flexible, but it is also a local override that can become stale when Teams changes its page structure. CSS changes require a restart.
References: app/…/options.js• L1233-1257 app/…/index.js• L4-29 app/…/README.md• L5-16
Custom meeting backgrounds
Custom backgrounds provide an image catalog for Teams meetings from a server that the user controls. When enabled, the application fetches the catalog from <serviceBaseUrl>/config.json, keeps the result for the workspace, and maps the background image requests to that service.
The server therefore supplies both the catalog and the image files. Its responses must allow the desktop app to load the images across origins. A fetch interval can refresh the catalog, while a zero interval leaves the catalog without scheduled polling.
References: app/…/options.js• L1158-1181 app/…/index.js• L12-55 app/…/index.js• L70-126 docs-site/…/custom-backgrounds.md• L35-53
Local interaction features
Local interaction features add small desktop tools to the Teams workspace. They use local files or operating-system services, then pass the result into Teams through the normal user interaction path.
Custom stickers
Custom stickers provide a floating panel of image files for the current chat. The panel reads supported images from a configured folder, shows them in the Teams window, and pastes a selected image into the focused compose box. The user still confirms the send through Teams.
The default folder is inside the application's user data directory. Users can choose another folder, arrange files one level deep into groups, import an image from an HTTPS URL, or remove an existing sticker. URL imports use an image type allowlist and a per-file size limit. The feature is opt-in and scans the folder when the panel opens instead of watching the folder continuously.
References: app/…/options.js• L188-214 app/…/README.md• L1-5 app/…/README.md• L24-43 app/…/index.js• L104-122 app/…/index.js• L173-244
Spell-check languages
Spell-check support uses Electron's native writing service for the Teams editing area. The application filters its language menu to languages available in the current session, lets the user select one or more writing languages, and provides a None choice to disable the active language set.
The configured language list is a starting set rather than a new spell-check engine. Unsupported language codes are ignored and reported, so the effective list depends on both the configuration and the languages supplied by the desktop runtime. Users reach the language choices from the edit context menu.
References: app/…/options.js• L1258-1289 app/…/index.js• L11-55 app/…/index.js• L833-912
Desktop support features
Desktop support features connect Teams behavior to the host system. They help diagnose graphics issues, keep presence aligned with activity, and make selected Teams actions available outside the app window.
GPU information
The GPU information window is a diagnostic view for graphics and hardware acceleration. The app menu opens Chromium's chrome://gpu page in a separate secure window, where an engineer can inspect the active graphics paths and acceleration status.
This diagnostic view is different from performance.disableGpu. The setting changes whether the app uses GPU acceleration, while the GPU information window explains the state that the desktop runtime reports. This makes the window useful when investigating blank windows, camera problems, or other graphics failures.
References: app/…/index.js• L7-47 app/…/README.md• L1-8 app/…/index.js• L685-691 app/…/options.js• L751-758
Idle presence
Idle presence links operating-system activity to the Teams presence state. With awayOnSystemIdle enabled, the application marks the user away when the host is idle and restores the prior active behavior when input returns. Poll intervals control how often the app checks for idle and active transitions.
Some Wayland and Hyprland systems do not provide reliable idle data through the normal desktop API. idleDetection.forceState allows an external idle tool to write active or inactive to a state file. A missing or invalid override falls back to normal system detection, so an external watcher must keep the file current if it is used as the source of truth.
References: app/…/options.js• L117-142 app/…/monitor.js• L19-47 app/…/monitor.js• L51-145 app/…/activityManager.js• L11-52
Global shortcuts
Global shortcuts let selected Teams keyboard actions work while another application has focus. The application registers configured Electron accelerator strings with the operating system, then forwards a matching key event to the Teams window. No global shortcut is registered unless the user supplies one.
Shortcut registration is a system resource. Another application may already own a requested combination, in which case that shortcut does not work. The shortcuts.disableWhileFocused setting provides the companion control for shortcuts that should not run while the Teams app itself has focus. Shortcut changes require a restart.
References: app/…/options.js• L1108-1132 app/…/index.js• L72-131 app/index.js• L724-737 app/…/renames.js• L24-31
Configuration relationships
These features share the normal configuration rules but do not share the same owner or failure behavior. The parent configuration and customization page gives the system view, while enterprise device management is relevant when an organisation distributes or constrains these settings across managed desktops.
Option ownership
The option group identifies the boundary that owns each behavior. A change to a view option affects the Teams workspace, a desktop option affects the shell or host, and a platform option depends on the runtime's available OS support.
| Owner | Examples | Main dependency |
|---|---|---|
| Teams view | CSS, backgrounds, stickers, spell-check | Teams page structure and session content |
| Desktop shell | GPU information, global shortcuts | Electron window and OS APIs |
| Presence bridge | Idle behavior | OS idle signal and Teams activity state |
| External service | Background catalog and images | Reachable URL, valid catalog, and response headers |
References: app/…/options.js• L1158-1181 app/…/options.js• L1233-1289 app/index.js• L678-700
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the nested option schema, flat-name migration entries, and the feature's read path aligned until the deprecation window ends.
- When changing custom background URLs or catalog fields, check the request redirect rules, content policy allowances, and the external server contract together.
- When changing sticker formats or URL imports, keep the panel display, content-type allowlist, file-size limit, and safe delete boundary consistent.
- When changing idle behavior, keep the state-file values, fallback to OS detection, presence updates, and poll intervals compatible.
- When changing shortcut names or accelerator parsing, preserve the array shape and check the operating-system registration and key forwarding paths.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Background catalog URL is unreachable or returns invalid data | The Teams background list is empty or cannot refresh | Use a reachable config.json endpoint and valid image paths; inspect app logs |
| Background server does not allow the required cross-origin image load | Images do not appear in the Teams picker or meeting | Return an appropriate Access-Control-Allow-Origin response |
| CSS file path is wrong or Teams changes its page structure | The custom style has no effect or parts of the UI look wrong | Check the file path and review selectors after Teams UI changes |
| Sticker folder cannot be read or an imported file exceeds its limits | The sticker is missing or the import is rejected | Use a readable folder and accepted HTTPS image type within the size cap |
| Configured spell-check code is not available in Electron | That language is not active | Use a language present in the runtime's supported list |
| GPU is disabled or the host graphics path fails | Hardware acceleration or media rendering can degrade | Open GPU Information and compare it with performance.disableGpu |
Idle state file stays inactive after an external watcher stops | Presence remains idle until the file is removed or updated | Remove the stale file or restore the watcher so it writes active |
| Another process owns a global shortcut | The requested system-wide action does not trigger | Choose an unused accelerator and restart the app |
Key files
| File | Why to read it |
|---|---|
| app/…/options.js | Defines the current option groups, defaults, types, and restart behavior for these features. |
| app/…/renames.js | Shows how older flat option names map to the current nested names. |
| app/…/index.js | Describes the background catalog and image-service contract. |
| app/…/index.js | Shows the boundary between configured styles and the Teams view. |
| app/…/index.js | Shows the local sticker folder, URL import, and delete safeguards. |
| app/…/index.js | Shows how runtime-supported writing languages become the active spell-check list. |
| app/…/index.js | Defines the GPU diagnostic window and its Chromium information source. |
| app/…/monitor.js | Defines normal idle detection and the external state-file override. |
| app/…/activityManager.js | Connects idle results to Teams presence behavior. |
| app/…/index.js | Defines system shortcut registration and forwarding into Teams. |
| app/index.js | Shows when optional services are initialized during application startup. |
| docs-site/…/custom-backgrounds.md | Gives the external background service contract and setup guidance. |