In a terminal I copy a line by
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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
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+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).