hluk/CopyQ

After upgrade to version 12 start failing copy command on Linux: ScriptError: Failed to copy to clipboard!

Open

#3.253 aberto em 14 de out. de 2025

Ver no GitHub
 (14 comments) (0 reactions) (0 assignees)C++ (419 forks)batch import
X11help wanted

Métricas do repositório

Stars
 (7.372 stars)
Métricas de merge de PR
 (Mesclagem média 2d 5h) (16 fundiu PRs em 30d)

Description

After one of latest update copyq, start fails copy with "exit code 4".

Describe the bug I've made script based on example https://copyq.readthedocs.io/en/latest/command-examples.html#replace-all-occurrences-in-selected-text, that works fine more than year.

But recently start fails like:

Note: Exception in command "Keyboard layout change (xneur like)": ScriptError: Failed to copy to clipboard!
Note:    
Note:    --- backtrace ---
Note:    f@:1
Note:    copy2@eval code:15
Note:    %entry@eval code:24
Note:    f@:1
Note:    eval:// Copy without changing...
Note:    eval
Note:    --- end backtrace ---

To Reproduce

  1. Import example command https://copyq.readthedocs.io/en/latest/command-examples.html#replace-all-occurrences-in-selected-text
  2. In editor select any text
  3. Call command (by action or previously assigned shortcut)

Expected behavior Text copied

Screenshots

Version, OS and Environment

$ copyq version
CopyQ Clipboard Manager 12.0.1
Qt: 6.9.2
KNotifications: 6.18.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Fedora Linux 42 (KDE Plasma Desktop Edition)
  • Installation method: Official fedora repos rpm

Guia do colaborador