You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pasting images doesn't work on konsole, linux #6331
Clipboard tool: wl-clipboard (installed and working)
Confirmed: Ctrl+V paste and drag & drop don't work for images.
wl-paste --list-types shows image/png and other formats correctly, so clipboard works fine.
Workaround:
Created a custom command /paste-image that saves clipboard image via script and references it:
~/.config/opencode/command/paste-image.sh:
#!/bin/bash
IMG_PATH="/tmp/opencode-clipboard-image.png"if wl-paste --type image/png >"$IMG_PATH"2>/dev/null;thenecho"Image saved: $IMG_PATH"elseecho"ERROR: No image in clipboard"exit 1
fi
~/.config/opencode/command/paste-image.md:
---description: Paste image from clipboard (Wayland workaround)---
!`~/.config/opencode/command/paste-image.sh`
Analyze the image at @/tmp/opencode-clipboard-image.png
$ARGUMENTS
Usage: /paste-image what is on this image?
Works as expected, but native clipboard paste would be much better.
Clipboard tool: wl-clipboard (installed and working)
Confirmed: Ctrl+V paste and drag & drop don't work for images. wl-paste --list-types shows image/png and other formats correctly, so clipboard works fine.
Workaround: Created a custom command /paste-image that saves clipboard image via script and references it: ~/.config/opencode/command/paste-image.sh:
#!/bin/bash
IMG_PATH="/tmp/opencode-clipboard-image.png"
if wl-paste --type image/png > "$IMG_PATH" 2>/dev/null; then
echo "Image saved: $IMG_PATH"
else
echo "ERROR: No image in clipboard"
exit 1
fi
~/.config/opencode/command/paste-image.md:
description: Paste image from clipboard (Wayland workaround)
!~/.config/opencode/command/paste-image.sh
Analyze the image at @/tmp/opencode-clipboard-image.png
$ARGUMENTS
Usage: /paste-image what is on this image? Works as expected, but native clipboard paste would be much better.
Activity
github-actions commentedon Dec 29, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
dhruvkej9 commentedon Dec 29, 2025
copy paste is not working on WSL Ubuntu 24.04 as well
efyandro commentedon Dec 30, 2025
try shift + insert
scarf005 commentedon Dec 31, 2025
tried but didn't work
Nab0y commentedon Jan 6, 2026
Same issue on Kitty + Wayland
Environment:
Confirmed: Ctrl+V paste and drag & drop don't work for images.
wl-paste --list-types shows image/png and other formats correctly, so clipboard works fine.
Workaround:
Created a custom command /paste-image that saves clipboard image via script and references it:
~/.config/opencode/command/paste-image.sh:
~/.config/opencode/command/paste-image.md:
Usage: /paste-image what is on this image?
Works as expected, but native clipboard paste would be much better.
riatzukiza commentedon Jan 12, 2026
Also stopped working for gpt 5.2 codex oauth. I am using allacritty on ubuntu 24.04 on i3 + kde plasma x11
dhruvkej9 commentedon Jan 12, 2026
How to paste multiple images ???
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
dhruvkej9 commentedon Mar 26, 2026
This still doesn't works