View Single Post
Old 9th February 2023
Entropic Entropic is offline
Banned
 
Join Date: Nov 2022
Posts: 77
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
The problem of copy&paste is due to xterm rather than the window manager — it is very old and pre-dates such niceties.

You can get the traditional <ctrl>+c/<ctrl>+v shortcuts working in xterm by adding these lines to ~/.Xresources:
Code:
*vt100.translations: #override \n\
   Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
   Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
Then either log out & back in again or run
Code:
xrdb -merge ~/.Xresources
I don't bother with that myself though because the PRIMARY method is quicker and easier.


For the PRIMARY selection don't use <ctrl>+c at all — just left-click and drag and whatever is highlighted will be copied, then use middle-click to paste the highlighted text. No need to touch the keyboard at all.
Ok, thanks for the advice about adding lines to the /Xresources (config file?)

Regarding
Quote:
For the PRIMARY selection don't use <ctrl>+c at all — just left-click and drag and whatever is highlighted will be copied, then use middle-click to paste the highlighted text. No need to touch the keyboard at all.
I've found that if I double tap and then drag to the right on a given line of text it does the usual highlighting of the selection to be copied, but when I try to drag it off screen, to go to a different window (like the secondary XTerm window I've got running on one of the other 9 screens), it doesn't let me transfer to the different window where I'm then doing what to "paste" ?
Reply With Quote