Possible Duplicate:
Pasting X selection (not clipboard contents) with keyboard
Is there a shortcut for copy-paste under X? I'd like to use the keyboard for pasting.
Possible Duplicate:
Pasting X selection (not clipboard contents) with keyboard
Is there a shortcut for copy-paste under X? I'd like to use the keyboard for pasting.
In graphical terminals, you can try CTRL+SHIFT+C and CTRL+SHIFT+V instead of CTRL+C and CTRL+V.
As an alternative, you can try CTRL+SHIFT+INSERT or SHIFT+INSERT. To copy a word with insert, you can use CTRL+INSERT The first one will paste the last highlighted word, and the second the last copied one.
They won't work everywhere, unfortunately, but it's a good start. You must be aware than in most cases, the best option will be CTRL+C and CTRL+V.
Note that these combinations may have to be mixed to work for different applications... For instance, on KDE, I have to use CTRL+SHIFT+C to copy from a Konsole, and then CTRL+V to paste in Firefox/Kate... or most of applications that are not a terminal. The key is that CTRL+C CAN'T be used to copy from the terminal, as it is a way to send a signal to the current running process in it... I've tested the combinations with INSERT with Konsole, too. One of them (CTRL+SHIFT+INSERT) does not work with NetBeans... Consequently, I'm not sure how to emulate the middle click behaviour from the keyboard...
Recipes for having a key perform the same action as a mouse middle-blick are given in the answers to this AskUbuntu question.
(Although the question was asked on the Ubuntu SE, there's nothing Ubuntu-specific in it: the solutions work on any X11 system.)
For X I was used to select and paste -- without copying.
In gnome-terminal I can use CTRL+SHIFT+C to copy to clipboard. Then the contents are available in other apps.
Select-and-paste seems to be a different approach, which works only in a terminal. please clarify if you know more about this.
– Bastl Jun 30 '11 at 07:10Shift+Insert
without having copied, so I'm not sure what you have configured differently. – Caleb Jun 30 '11 at 07:13CTRL+SHIFT+C
andCTRL+SHIFT+V
works for me as an alternative to highlight and middle click in Terminator shell on Ubuntu 16.10 – Dennis Mar 31 '17 at 13:21