PRIMARY clipboard paste

Bertrand Yvain pnl at ielo.net
Thu Sep 23 19:44:14 CEST 2010


Hi,

On Thu, Sep 23, 2010 at 11:21:07AM +0300, Laszlo Papp wrote:
> URxvt.keysym.M-C-v:         command:/usr/bin/xclip -selection clipboard -o
> This is in my ~/.Xdefaults file, but I cannot paste into urxvt from
> outside. What do I do wrong ?

The command: construct is not for shell commands but rxvt-unicode
control sequences.

Quoting from the manual:

  Pressing and releasing the Middle mouse button in an urxvt window
  causes the value of the PRIMARY selection (or CLIPBOARD with the
  Meta modifier) to be inserted as if it had been typed on the keyboard.
  
  Pressing Shift-Insert causes the value of the PRIMARY selection to
  be inserted too.

So what you want is M-<middle_click> though I don't know how to remap
this to keys only.

-- 
Bertrand Yvain
http://www.IELO.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20100923/b778e6d2/attachment.sig>


More information about the rxvt-unicode mailing list