[BUG] [Linux] "No image found" error should indicate when xclip is not installed

Resolved 💬 3 comments Opened Dec 19, 2025 by W1talka Closed Dec 23, 2025

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 pasting an image with Ctrl+V on Linux without xclip installed, the error message is simply "No image found" (or similar). This is misleading - there IS an image in the clipboard, but Claude Code can't access it because the required tool is missing.

What Should Happen?

When xclip is not installed, show a helpful message like:
Cannot read clipboard: xclip not found.
Install it with: sudo apt install xclip

Error Messages/Logs

Steps to Reproduce

  1. Use Linux (X11) without xclip installed
  2. Copy an image to clipboard (e.g., screenshot)
  3. Open Claude Code CLI
  4. Press Ctrl+V to paste
  5. See unhelpful "No image found" error

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.73

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

Linux Mint (X11)

Note: Issue #3186 was closed but only fixed /export command. Ctrl+V paste error is still unhelpful.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗