#950·espanso

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:

  1. Install/Activate clipboard manager.
  2. Expand a replacement using the clipboard (via backend: Clipboard in the config or force_clipboard: true for a specific replacement).
  3. 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: alfred_clipboard-types_exclusion

Setup information

  • OS: macOS 12.1
  • Version: 2.1.2-alpha