I can use keyboard shortcuts and selecting text with the left mouse button allows me to insert the selection within gnome-terminal with the middle mouse button.

However, mouse selection with left button does not copy it to the clipboard and thus is not available to other apps.

I don't want to use the keyboard shortcuts when I select text with the left mouse button, I want to automatically have it in the clipboard (much like putty works on Windows).


X and GTK+ maintain their own clipboards, which is why selecting text the X way does not automatically dump the selected text into the GTK+ clipboard. gClip can be used to bridge the two.

  • I installed it and ran it, but it does not copy the selected text. I looked at the settings, but can't find anything related. Am I missing something? – mark Apr 4 '10 at 11:58
  • Looking at the web page, it says "Select (paint) something somewhere and click gClip tray-icon with mouse middle button." (Under Use Primary Buffer). Perhaps trying that would work. – Ignacio Vazquez-Abrams Apr 4 '10 at 12:24
  • I see. I'm searching for a solution which does that automatically. – mark Apr 4 '10 at 12:47
  • Voting up, informative answer, yet not the solution yet. – mark May 30 '10 at 17:35
  • The link is out of date. Searching for "gClip" returns either a patented "Granite clip" for stone masonry, or a "wave-shaping signal clipper". – Stewart Mar 12 '17 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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