[BUG] Copying to clipboard prefers wl-copy
Open 💬 0 comments Opened Jun 24, 2026 by skerit
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I copy something on a local claude-code instance (by either using /copy or by selecting), the wl-copy program is used. But because of this a taskbar entry is made for a split second, so it is quite annoying.
I don't need wl-copy. My terminal supports OSC52. When I use claude-code over an SSH connection, it doesn't need to do any of this and it still manages to update my clipboard
What Should Happen?
It should skip wl-copy when OSC52 is supported
Error Messages/Logs
Steps to Reproduce
Open claude-code in a terminal locally
Use the KDE Plasma desktop environment on Linux
Copy something
For a flash, a new application will open
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.187
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
_No response_