相关疑难解决方法(0)

Command Line Clipboard Access

I'm building a command line tool in order to make some of my tasks more efficient. I need to be able to write content to the clipboard, but for some reason it's not working for me.

I've tried installing both xclip and xsel, but both have the same behavior: they can read/write to the clipboard fine, but I cannot access it from the main Ubuntu GUI.

I've also tried it in the terminal...

echo "hello" | xclip
Run Code Online (Sandbox Code Playgroud)

Then if …

command-line clipboard

10
推荐指数
1
解决办法
9697
查看次数

标签 统计

clipboard ×1

command-line ×1