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

已经安装了 xclip 还是提示:You need to install xclip command first. #130

Open
wangdeer opened this issue Apr 1, 2024 · 3 comments

Comments

@wangdeer
Copy link

wangdeer commented Apr 1, 2024

RT:
已经安装了 xclip 还是提示:You need to install xclip command first.

重装了插件,重启了系统还是不行。

image

OS: Ubuntu 22.04.4 LTS x86_64
Kernel: 6.1.0-1036-oem
DE: GNOME 42.9
Windowing System:x11

:~$ command -v xclip
/usr/bin/xclip
@Rvn0xsy
Copy link

Rvn0xsy commented Sep 21, 2024

我也遇到了相同的问题 🤔

@imlinhanchao
Copy link
Owner

试试下载 https://github.com/imlinhanchao/vsc-markdown-image/blob/master/asserts/linux.sh 然后执行 linux.sh output.png

@Rvn0xsy
Copy link

Rvn0xsy commented Sep 23, 2024

试试下载 https://github.com/imlinhanchao/vsc-markdown-image/blob/master/asserts/linux.sh 然后执行 linux.sh output.png

image
能够正常输出截图文件

很明显,我的机器上是存在xclip的:

╭─arch@archlinux ~
╰─$ command -v xclip
/usr/bin/xclip

并且我看启动xclip是使用的sh,切换到sh也是可以找到这个命令的:

╭─arch@archlinux ~
╰─$ sh
sh-5.2$ whereis xclip
xclip: /usr/bin/xclip /usr/share/man/man1/xclip.1.gz
sh-5.2$

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

3 participants