Copy text from WSL to clipboard: echo "testing" | wl-copy or echo "testing" | xclip -selection c. Observe that Ctrl-v will paste the just copied text, but not show in the clipboard history accessed by win+v
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
The copied text is inserted into the clipboard history.
Actual behavior:
I can use both xclip -selection c or wl-copy to put text on the clipboard, and it actually does paste with Ctrl+v, but it does not show up in the clipboard history that can be accessed with Win+v. If I use /mnt/c/Windows/System32/clip.exe that does show up.
Windows build number:
Microsoft Windows [Version 10.0.22631.3447]
Your Distribution version:
Release: 22.04
Your WSL versions:
WSL version: 2.1.5.0 Kernel version: 5.15.146.1-2 WSLg version: 1.0.60 MSRDC version: 1.2.5105 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22631.3447
Steps to reproduce:
Copy text from WSL to clipboard:
echo "testing" | wl-copy
orecho "testing" | xclip -selection c
. Observe thatCtrl-v
will paste the just copied text, but not show in the clipboard history accessed bywin+v
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
The copied text is inserted into the clipboard history.
Actual behavior:
I can use both
xclip -selection c
orwl-copy
to put text on the clipboard, and it actually does paste withCtrl+v
, but it does not show up in the clipboard history that can be accessed withWin+v
. If I use/mnt/c/Windows/System32/clip.exe
that does show up.