clip icon indicating copy to clipboard operation
clip copied to clipboard

get_text not working on GitHub codespaces

Open vezaynk opened this issue 2 years ago • 1 comments

I'm trying this library out on GitHub codespaces. I installed Xvfb to provide an X11 server.

Pasting doesn't seem to work.

@knyzorg ➜ /workspaces/node-clipboard/clip/examples (c46c491 ✗) $ ./paste 
Clipboard doesn't contain text
@knyzorg ➜ /workspaces/node-clipboard/clip/examples (c46c491 ✗) $ xclip -out
hi
@knyzorg ➜ /workspaces/node-clipboard/clip/examples (c46c491 ✗) $ xclip -out -t TARGETS
TARGETS
UTF8_STRING

vezaynk avatar Dec 27 '21 00:12 vezaynk

Hi @knyzorg was you able to make it work? Did you try running "xvfb-run ./paste"?

dacap avatar Sep 13 '22 18:09 dacap