Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Well yeah I have a problem, I'm using trackball and I don't have middleclick, I even don't want to have it. i can't figure out what is the shortcut to paste it that way? because if you want to copy something from xterm you need to use middleclick. Ctrl+V and Shift+INS is using another clipboard.

share|improve this question
up vote 3 down vote accepted

Push both left and right buttons at the same time. If you prefer keyboard shortcuts take a look to this.

share|improve this answer

In most X11 programs, ShiftInsert should work – it pastes from the same "PRIMARY" selection that xterm copies to.

If you need to paste to Firefox or Chromium, though, you will need a program that synchronizes both selections, such as Klipper (KDE), Parcellite/Clipit (GNOME), or loliclip (generic). [The term is "clipboard manager".]

Alternatively, configure Xterm to copy to the "CLIPBOARD" selection instead, by adding one of the following to your ~/.Xresources file:

  1. Retain normal behavior when selecting, but copy to "CLIPBOARD" when CtrlShiftC is pressed:

    XTerm*vt100*translations:   #override           \n\
        Shift <Key> Delete: insert-selection(SELECT)    \n\
        Shift Ctrl <Key> C: select-end(CLIPBOARD)       \n\
        Shift Ctrl <Key> V: insert-selection(CLIPBOARD) \n\
        Shift Ctrl <Key> N: spawn-new-terminal()        \n
  2. Always copy to "CLIPBOARD" when selecting:

    XTerm*selectToClipboard: true

(Run xrdb -merge ~/.Xresources after editing.)

share|improve this answer
and why not .Xdefaults? with dwm it's loading by default – holms Oct 15 '12 at 14:05
sorry for not selecting your answer, but 'choutos' actually answered the question. Although I will use your hack anyway =) – holms Oct 15 '12 at 14:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .