Skip to content

[BUG] Pasting image don't work on WSL2  #340

@asmei1

Description

@asmei1

Please confirm

  • I am running the latest version of this plugin

Describe the bug
Cannot paste image from clipboard using either the xclip or wl-paste on Ubuntu runned on WSL2.
What I get is:

Unable to write image /home/user/zettelkasten/img/pasted_img_20240829123455.png.
Is there an image on the clipboard?
See also issue 131
Press ENTER or type command to continue
Unable to write image /home/user/zettelkasten/img/pasted_img_20240829123455.png
Press ENTER or type command to continue

I tried with only wl-paste installed, only xclip or both in the same time. Nothing works.

Linked issue didn't not help at all.
Ofc, everything is updated.

To Reproduce
Steps to reproduce the behavior:

  1. Start nvim
  2. Open note
  3. Use paste image from clipboard
  4. See error

Expected behavior
Working image pasting

Screenshots
If applicable, add screenshots to help explain your problem.

Operating system (please complete the following information):

  • OS: Nvim on Linux, running on WSL2.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions