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

Copy Commit Sha to Clipboard not working #35

Closed
rrerolle opened this Issue Feb 28, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@rrerolle
Copy link

commented Feb 28, 2017

Hello,

I can't seem to make the "Copy Commit Sha to Clipboard" feature work, no matter how hard I try.

I'm using version 1.9.1 on Ubuntu-Gnome 16.04.

I tried the feature using various ways: the right click contextual menu, the command palette or one of the various quick pick uis.

This has never resulted in anything being copied to the clipboard. Actually my clipboard remains unchanged and still contains what it had before.

Any way to investigate this ?

Thanks.

@eamodio eamodio self-assigned this Feb 28, 2017

@eamodio eamodio added the type: bug label Feb 28, 2017

@eamodio

This comment has been minimized.

Copy link
Owner

commented Feb 28, 2017

@rrerolle It seems to be a linux specific issue. I'll dig into and see what I can come up with.

@eamodio

This comment has been minimized.

Copy link
Owner

commented Feb 28, 2017

@rrerolle It seems the node package I'm using to copy to the clipboard requires that xclip be installed. You can install it via sudo apt-get install xclip.

If you install that it should start working. Please let me know if not.

@rrerolle

This comment has been minimized.

Copy link
Author

commented Feb 28, 2017

That did the trick, it's now working fine, thanks for the info !

@eamodio eamodio closed this Feb 28, 2017

@vadimcn

This comment has been minimized.

Copy link

commented Feb 5, 2018

@eamodio, I suggest you handle the case when xclip is not installed. It happened to me and for the longest time I thought this was because of a buggy extension. Finally I came to github to open a bug and only now found this issue :(

Edit: er, I meant @eamodio

@eamodio

This comment has been minimized.

Copy link
Owner

commented Feb 6, 2018

@vadimcn GitLens 8 will display the following message if it gets an error trying to use xclip

Unable to copy commit id, xclip is not installed. You can install it via `sudo apt-get install xclip`

eamodio added a commit that referenced this issue Feb 6, 2018

billsedison added a commit to noside911/vscode-gitlens that referenced this issue Jan 4, 2019

Merge pull request eamodio#39 from afrisalyp/issue-23
Issue 23: Search panel resizeable. eamodio#35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.