Image paste from clipboard not working in some terminal emulators (Terminator, PhpStorm integrated terminal)
Resolved 💬 16 comments Opened Dec 14, 2025 by atournayre Closed Mar 13, 2026
Description
Image paste from clipboard stopped working in some terminal emulators. This is a regression - it was working a few weeks ago.
Environment
- OS: Ubuntu (Linux 6.14.0)
- Session type: X11
- Desktop: GNOME
Affected terminals
- Terminator
- PhpStorm integrated terminal
Working terminals
- gnome-terminal (native Ubuntu terminal)
Diagnostic
The clipboard does contain the image correctly:
$ xclip -selection clipboard -t TARGETS -o
image/png
TARGETS
TIMESTAMP
$ xclip -selection clipboard -t image/png -o > /tmp/test.png
$ file /tmp/test.png
/tmp/test.png: PNG image data, 2542 x 1421, 8-bit/color RGBA, non-interlaced
The image is present in the X11 clipboard, but Claude Code reports "no image in clipboard" when pasting with Ctrl+V in the affected terminals.
Workaround
Save the image from clipboard manually and provide the file path:
xclip -selection clipboard -t image/png -o > /tmp/clipboard.png
Then reference /tmp/clipboard.png in the conversation.
Expected behavior
Ctrl+V should detect and paste the image from clipboard in all terminal emulators, as it did before.
16 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Not a duplicate
After analyzing the suggested duplicates:
| Issue | Why it's different |
|-------|-------------------|
| #8324 | Wayland + KDE environment. My issue is X11 + GNOME |
| #8693 | Closed/resolved |
| #12486 | Feature request to add Linux support. My issue is a regression - it was working before |
Key differentiator
This issue is terminal-specific on X11:
gnome-terminalworksTerminatordoesn't workThe clipboard contains the image correctly (verified with
xclip), but Claude Code doesn't detect it in certain terminal emulators. This suggests an issue with how clipboard detection works across different terminal implementations on X11.Pasting images also not working for me in:
Claude 2.0.75
KDE Neon 6.2
X11
Konsole
(Note: tried installing xclip, the workaround given in https://github.com/anthropics/claude-code/issues/8324, but it still doesn't work properly)
I'm also experiencing this issue.
Environment:
Ctrl+V doesn't paste clipboard images — nothing happens. Images paste fine in other applications (browser, GIMP, etc.), confirming the clipboard content is valid.
Currently working around this by saving screenshots to disk and referencing the file path directly.
At least on Ubuntu Desktop you have to install
xclipfor pasting images to work, which worked for me...Wayland or X11
@dmwyatt, you are right. It seems to work now, thanks! 👍
I had claude read this thread and prepare this response 😄:
---
Wayland - I'm running on Wayland, not X11.
Full system details:
What I did:
Installed xclip via
sudo apt install xclipand image pasting started working immediately.Interesting observation:
xclip is traditionally for X11, but it resolved the issue on my Wayland session. This might suggest:
This could explain why xclip didn't help you on KDE + X11 + Konsole but did help me on GNOME + Wayland - the issue might not be just about xclip availability, but also about the desktop environment's clipboard handling.
Yeah, so the problem persists on X11 (this issue #13966). The workaround does not apply to this issue, it applies to #8324 (which is the thread for Wayland)
This worked for me
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Still occurring
FWIW, I have the same problem using Flameshot on Linux Mint & Terminator.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
can we re-open it? issue still persists
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.