Hi, excuse me for this basic question, but could anyone tell me how can I copy text from this console? I tried
ctrl + shift + c
,
ctrl + c
,
right click
and first two kill the process and the latter does nothing.
m
Mitch Bailey
02/25/2023, 8:19 AM
@Nelson Rodriguez Some linux terminals have automatic copy of the selected text and use the middle mouse button for paste. Other times, you can find a right mouse pop up like Larry mentioned. Using emulators or Chrome Remote Desktop can add some extra steps if youโre trying to get to paste into pc documents.
๐ค๐ผ 1
s
Stefan Schippers
02/25/2023, 8:46 AM
just use the middle button to paste.
Left button Click and drag --> select and copy
middle button click --> paste
๐ค๐ผ 1
Stefan Schippers
02/25/2023, 8:58 AM
If you add this line in your `~/.Xresources`:
XTerm*selectToClipboard:true
the next time you log into the system (or after executing
xrdb -merge ~/.Xresources
) xterm selection (explained above) will directly go into the clipboard in addition to the cut buffer, so in other "desktop" applications you can just do
ctrl-v
to paste.
๐ 1
๐ค๐ผ 1
n
Nelson Rodriguez
03/06/2023, 6:14 AM
Very helpful, I didn't know about the automatic copy, thanks @Mitch Bailey, thanks @Stefan Schippers. Stefan regarding the last instruction you mentioned, I don't have that hidden
.Xresources
file, do I have to create it and what kind of permissions should it have?
s
Stefan Schippers
03/06/2023, 9:54 AM
@Nelson Rodriguez you can create if it is not existing, it just need user read permissions, so defaults are ok usually.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.