The buffer where text is put into when you double-click on text within X is called X selection.
You can paste this buffer (at least into a terminal window) by pressing Shift + Insert.
Shift + Insert