屏幕和xclip - 不起作用的配置


2

我正在尝试配置GNU / Screen实用程序以使用X剪贴板。我按照教程: http://www.lowlevelmanager.com/2012/10/screen-clipboard-to-x11-clipboard.html 但是没有结果,所以我决定修改配置以使用xclip而不是xsel - 只是因为原始想法对我不起作用。这是我的.screen配置文件:

bind > eval writebuf "exec sh -c 'xclip -i /tmp/screen-exchange'"
bind < eval "exec sh -c 'xclip -o >/tmp/screen-exchange'" readbuf

粘贴工作但将屏幕剪贴板复制到X剪贴板却没有。你能告诉我我做错了什么吗?我正在使用:urxvt终结模拟器。

Answers:


0

我想你只是错过了一个&lt;

bind > eval writebuf "exec sh -c 'xclip -i < /tmp/screen-exchange'"

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.