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
Does not appear to work on Ubuntu #56
Comments
Hi, I've just had a copy/paste bug reported against my VSCode extension that uses this package. I think the issue is that 'xclip' - which this package uses on Linux - isn't installed by default on Debian. A quick 'apt-get install xclip' and it started working for me. Unfortunately, this package didn't seem to report that error to me, so I had to step through the code to workout the issue. Hope this helps. |
Errors are now more aggressively propagated in |
Also it'd be recommended to check for errors in the callback: copyPaste.copy('some text', function(err){
if (err) throw err;
console.log('done')
}) |
I am testing this on Ubuntu 16.04.2 (Virtualbox VM). Does not appear to work. I'm doing this:
Then when I try to paste anywhere in Ubuntu the text pasted is not
some text
but instead its the previous thing that was copied to the clipboard.Is this an issue only because it's a virtual machine or are other people having this same problem on actual Linux systems?
The text was updated successfully, but these errors were encountered: