linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -


i've tried various ways coerce xterm (versions 285 , 292) copy selection clipboard clipboard whenever press ctrl-shift-c. promising way far has been, in ~/.xresources, put this:

xterm*vt100.translations: #override \     ctrl shift <keypress> c:  copy-selection(clipboard) \n\     ctrl shift <keypress> v:  insert-selection(clipboard) 

ctrl-shift-v works perfectly, copying has nuance...

if restart xterm, highlighting text puts things in primary clipboard; expected, proper, default behavior. if hit ctrl-shift-c, copies current selection clipboard clipboard.

the bug, however, if highlight text after first time pressed ctrl-shift-c, you'll see highlighting copies both primary and clipboard. cannot figure out how stop xterm updating clipboard upon selection... , doesn't make sense me in first place.

i said, @ specific point in time, copy selection clipboard... yet starts updating automatically upon selection after doing once...

anyone have workaround?

you might find bug588785 interesting read. quick workaround install , use xclipboard seen in comment 145.


Comments

Popular posts from this blog

c++ - qgraphicsview horizontal scrolling always has a vertical delta -