win32yank icon indicating copy to clipboard operation
win32yank copied to clipboard

Slow "start" (5s) when using it with WSL2 / Ubuntu 2204

Open KervyN opened this issue 10 months ago • 5 comments

Hi,

I am just trying out this cool tool (thanks a lot for doing this work), and it takes around 5s to do anything with the it.

After some tinkering I found a solution: I've moved it form "somewhere" within the WSL distro to the windows part of the system and if was fast.

I am not sure if this is a me problem, but maybe it helps future people to solve a problem. I've attached a strace of both starts.

strace-fast.log strace-slow.log

Best wishes, and thank you for this awesome tool <3

KervyN avatar Apr 25 '24 20:04 KervyN

Thanks for posting this. I was having the same problem where a copy/paste would take a long time. Moving it outside of WSL2 fixed the issue for me as well.

GWW avatar Apr 29 '24 12:04 GWW

When you move win32yank to Windows host, do you need a specific configuration on NeoVim or Windows to use it? I assume you should add it to your PATH on windows (or linux)?

Nargonath avatar Jul 01 '24 21:07 Nargonath

When you move win32yank to Windows host, do you need a specific configuration on NeoVim or Windows to use it? I assume you should add it to your PATH on windows (or linux)?

I had it in my $PATH for my WSL terminal. But I can't check anymore, because I turned my back on windows.

KervyN avatar Jul 01 '24 22:07 KervyN

haha alright. No problem.

Nargonath avatar Jul 02 '24 19:07 Nargonath

yes, move to windows path solved

rickywu avatar Jul 22 '24 09:07 rickywu