Attachements do not work on WSL #845

Closed
opened 2026-02-16 17:28:32 -05:00 by yindo · 4 comments
Owner

Originally created by @tmn73 on GitHub (Jul 21, 2025).

Originally assigned to: @adamdotdevin on GitHub.

I'm sure this is not a priority, but just letting you guys know attachements dont work in WSL.
When I paste an image for example, nothing is happening.
If I point to a file on windows ex C:\Users\xxx\Pictures\Screenshots\image.png it says "I can't access the file at that Windows path from this Linux environment."

I will try to work on a PR

Originally created by @tmn73 on GitHub (Jul 21, 2025). Originally assigned to: @adamdotdevin on GitHub. I'm sure this is not a priority, but just letting you guys know attachements dont work in WSL. When I paste an image for example, nothing is happening. If I point to a file on windows ex C:\Users\xxx\Pictures\Screenshots\image.png it says "I can't access the file at that Windows path from this Linux environment." I will try to work on a PR
yindo closed this issue 2026-02-16 17:28:32 -05:00
Author
Owner

@ak127a commented on GitHub (Aug 26, 2025):

any updates on this?

@ak127a commented on GitHub (Aug 26, 2025): any updates on this?
Author
Owner

@rekram1-node commented on GitHub (Sep 23, 2025):

@itsrainingmani

@rekram1-node commented on GitHub (Sep 23, 2025): @itsrainingmani
Author
Owner

@sai-sy commented on GitHub (Sep 30, 2025):

What terminal are you using. I'm using wezterm and facing the same issue.

Might need an image renderer

@sai-sy commented on GitHub (Sep 30, 2025): What terminal are you using. I'm [using wezterm and facing the same issue](url). [Might need an image renderer](https://github.com/sst/opencode/issues/2878#issuecomment-3352480600)
Author
Owner

@R44VC0RP commented on GitHub (Jan 25, 2026):

The main issue here (clipboard image paste in WSL) was fixed in Nov 2025 via PR #4123. If you're on a recent version, Ctrl+V image paste should work.

For the Windows path issue (C:\Users\... not being recognized), there's an open PR #8209 that adds automatic path conversion. In the meantime, you can manually convert paths:

  • C:\Users\tommy\image.png/mnt/c/Users/tommy/image.png

Closing as the core functionality is fixed. Thanks for the report!

@R44VC0RP commented on GitHub (Jan 25, 2026): The main issue here (clipboard image paste in WSL) was **fixed in Nov 2025** via PR #4123. If you're on a recent version, `Ctrl+V` image paste should work. For the Windows path issue (`C:\Users\...` not being recognized), there's an open PR #8209 that adds automatic path conversion. In the meantime, you can manually convert paths: - `C:\Users\tommy\image.png` → `/mnt/c/Users/tommy/image.png` Closing as the core functionality is fixed. Thanks for the report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#845