Investigate AutoGeneratedType flag to improve Clipboard handling on macOS
Author: archetypedCreated Jan 19, 2022Updated Sep 20, 2026
LabelsenhancementMacOS
Describe the bug Entries for Espanso replacement text are added to clipboard managers when the clipboard is used to output a replacement.
Entries are added to the clipboard managers even when Espanso is explicitly set to be ignored via the clipboard managers' preferences.
Clipboard managers tested
To Reproduce Steps to reproduce the behavior:
- Install/Activate clipboard manager.
- Expand a replacement using the clipboard (via
backend: Clipboardin the config orforce_clipboard: truefor a specific replacement). - Check clipboard manager entries - Espanso replacement text is added to clipboard manager entries list.
Expected behavior Espanso should be able to be ignored by clipboard managers like other apps so that replacements that use the clipboard do not fill up the clipboard history.
Screenshots Some clipboard managers can also automatically ignore certain types of clipboard content, so perhaps that is one way Espanso can exclude its clipboard operations from clipboard managers.
For example, Aflred:

Setup information
- OS: macOS 12.1
- Version: 2.1.2-alpha
Source: espanso/espanso