Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WSL2] Dependencies not installed #143

Open
ThaDaVos opened this issue Jul 14, 2020 · 3 comments
Open

[WSL2] Dependencies not installed #143

ThaDaVos opened this issue Jul 14, 2020 · 3 comments

Comments

@ThaDaVos
Copy link

When I press the yank key to copy text I see the below error for a split second:
image

I checked my path and I also am able to echo "Hello1234" | clip.exe just fine - are there any other dependecies required?

@ThaDaVos ThaDaVos changed the title [WSL2] Dependecies not installed [WSL2] Dependencies not installed Jul 14, 2020
@peterramaldes
Copy link

+1

@axsaucedo
Copy link

I'm having the same issue, however it seems it only started when I enabled systemd - ie by adding:

[boot]
systemd=true

to my /etc/wsl.config file. Not sure what can cause this - as suggested running > clip.exe works as expected

@axsaucedo
Copy link

axsaucedo commented Jun 17, 2023

As a heads up I have been able to find a workaround - I have edited the command directly for my full path of /c/Windows/system32/clip.exe here:

elif command_exists "clip.exe"; then # WSL clipboard command
echo "cat | clip.exe"

This seems to do the job for the time being

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants