Ubuntu: Copy terminal mouse selection automatically to clipboard for other apps

copy/pastegnome-terminalUbuntu

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).

Best Answer

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.

Related Question