Reply to topic

Copy-all to clipboard while console output changing rapidly

kde-logidelic
Registered Member
Posts
3
Karma
0
I know that we can do a Select All and then Copy.

However, if the console output is being added to rapidly, the selection is automatically cleared immediately! Therefore we don't have time to Copy to clipboard.

Is it possible to just copy everything in the scroll buffer to the clipboard without selecting? I'm kind of shocked at how commonly this is a problem, so perhaps I've just missed an existing feature...

Thank you!
User avatar Eric Adams
Registered Member
Posts
18
Karma
0
OS
I have a some suggestions.

First, you can pipe the output of a command to a file with the > character (somecommand > somefile.txt). You can also have output going to both the terminal and a file with SomeCommand 2>&1 | tee SomeFile.txt. More info here - https://askubuntu.com/questions/420981/ ... -to-a-file

Another option is a keyboard shortcut that saves all the output in the terminal to a text file (Ctrl+Alt+S).

The last suggestion is to set the "Copy on select" option. Right click the terminal window and choose "Edit Current Profile". Go to the Mouse tab and set the "Copy on select" option and save. Now when you select anything with the mouse in the terminal it will be immediately copied to the clipboard. If you are using this in conjunction with the clipboard manager you will should be able to grab all the output. I could see this being messy though and would probably opt for outputting to a text file and then pulling the output from there.

Hope this helps.
kde-logidelic
Registered Member
Posts
3
Karma
0
Thanks for that... After posting I realized that If I did "Save Output As..." (like you're suggesting), I could effectively achieve what I wanted. A bit less convenient, but still good.

Thanks!

 
Reply to topic

Bookmarks



Who is online

Registered users: aperali, Baidu [Spider], Bing [Bot], claydoh, Cryptography82, cylverbak, Exabot [Bot], Google [Bot], InDiePix, kyrhammer