Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to configure GNU/Screen utility to work with X clipboard. I followed the tutorial: http://www.lowlevelmanager.com/2012/10/screen-clipboard-to-x11-clipboard.html but without a result, so I decided to modyfi the configuration to use xclip rather than xsel - just because the orginal idea didn't work for me. This is my .screen config file:

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

The pasting work but coping the screen clipboard to X clipboard doesn't. Can you tell me what am I doing wrong? I'm using: urxvt terminale emulator.

share|improve this question
add comment

1 Answer

I think you are just missing a <

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.