hluk/CopyQ
在 GitHub 查看After upgrade to version 12 start failing copy command on Linux: ScriptError: Failed to copy to clipboard!
Open
#3,253 建立於 2025年10月14日
X11help wanted
描述
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
- Import example command https://copyq.readthedocs.io/en/latest/command-examples.html#replace-all-occurrences-in-selected-text
- In editor select any text
- 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