0

In a terminal I copy a line by Ctrl+a and Ctrl+k. I want to copy the text into clipboard when another window become active so that I can use the text another application, like a text editor or a browser.

Is there way to do it?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
ironsand
  • 5,085
  • 12
  • 50
  • 73

1 Answers1

0

What kind of terminal do you use? In both gnome-terminal and xfce4-terminal you just add the Shift key to the standard shortcuts, or you can use the Edit menu. So:

Shift+Ctrl+c Copy
Shift+Ctrl+v Paste
Shift+Ctrl+a Select All

Then in an another window you can use the standard paste keys to paste the content. Emacs editor is a bit peculiar here, e.g. the way to paste from the clipboard is via Yank (default Ctrl+y).

BobDoolittle
  • 1,607
  • 15
  • 26