Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 wondering if there is a terminal enhancement, or a way to make the terminal to where when I highlight over anything it auto copies whatever I highlight. I know this is a feature in some terminal text editors (like grep or vi), but was wondering if there is compatibility somehow in the terminal itself.

Any help would be greatly appreciated.

share|improve this question
up vote 9 down vote accepted

Middle mouse button click will paste the highlighted text into the terminal (or wherever you can enter text).

For more detailed information on Multiple Paste Buffers see geirha's answer in this question.

share|improve this answer
Ahh, I was trying this with right mouse click but didn't think to use the middle mouse button! D'oh :( Thanks! – cloyd800 Apr 17 '12 at 16:51
I'm glad I could help! Btw. please read the excellent linked answer, because it sheds some light on the different methods of copying & pasting. – lgarzo Apr 17 '12 at 16:54

Your Answer


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.