Configure xterm to use ctrl+shift+c/ctrl+shift+v for copy/paste

gnome-terminalgnome-terminatorperformancexterm

I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but still takes 10-15 seconds to launch.

xterm however takes only a second or two. I'm fine using it, but I absolutely loathe the way it handles copy/paste.

How do I configure xterm to not copy something when highlighted via mouse (since I use a clipboard manager and I don't want my recently used entries to get nuked every time I select something) and use shift+ctrl+c/shift+ctrl+v for copy/paste?

OS is Debian 8, window manager is fluxbox.

Thanks!

Best Answer

I was able to use CTRLSHIFTC and CTRLSHIFTV for Copy-and-Paste with XTerm by adding

XTerm*vt100.translations: #override \
    Shift Ctrl <Key> C: copy-selection(CLIPBOARD) \n\
    Shift Ctrl <Key> V: insert-selection(CLIPBOARD)

to my ~/.Xresources and reloading it with xrdb -merge ~/.Xresources.

Documentation of this feature can be found in xterm(1), “Custom Key Bindings”.

Related Question