Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to configure GNU/Screen utility to work with X clipboard. I followed the tutorial: 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

I think you are just missing a <

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .