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

Gist clipboard does not work by default on Linux #221

Open
msjyoo opened this issue Nov 3, 2015 · 2 comments
Open

Gist clipboard does not work by default on Linux #221

msjyoo opened this issue Nov 3, 2015 · 2 comments

Comments

@msjyoo
Copy link

msjyoo commented Nov 3, 2015

Hello,

I have installed both xclip and xsel on Debian Jessie, however the clipboard function does not work.

It also appears that Gist seems to run which xsel -i, which returns a non-zero return code because xsel and -i are treated separately. (-i makes it return non-zero)

GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
xsel: 1.2.0-2
xclip: 0.12+svn84-4
@ConradIrwin
Copy link
Collaborator

Hmm, in theory it should be using /usr/bin/which not the shell builtin which works for me; but seems like an easy fix to move the parameters out of the which call. Pull requests welcome :).

@msjyoo
Copy link
Author

msjyoo commented Nov 4, 2015

@ConradIrwin I have a patch ready to go :) But it didn't fix the clipboard issue. Having xclip installed (which should bypass the xsel issue enitrely) didn't help.

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

2 participants