Clipboard paste confirmations not working

Gour gour at atmarama.net
Sat Feb 22 16:41:58 CET 2014


On Sun, 26 Jan 2014 00:43:45 +1100
Simon <simonzack at gmail.com> wrote:

> The urxvt-perls clipboard script from 
> https://github.com/muennich/urxvt-perls does not appear to be
> compatible with the default 'clipboard' plugin.

Uhh, and I'm wondering why, after moving to Free/PC-BSD keyboard
copy/paste does not work as I was used to. 

> Upon further investigation, it seems that in the urxvt perl api, 
> on_tt_paste does not fire when tt_paste is called. Does anyone know
> if this is the case, or if I'm doing something wrong and there's a
> fix?
> 
> Here's my xresources:
> > urxvt.perl-ext-common:      default,confirm-paste,clipboard
> >
> > urxvt.keysym.Control-Shift-C:                perl:clipboard:copy
> > urxvt.keysym.Control-Shift-V:                perl:clipboard:paste
> > urxvt.keysym.Control-Alt-V:  perl:clipboard:paste_escaped

Here is my snippet:

!-*- Perl extensions -*-
URxvt.perl-ext-common:          default,matcher,keyboard-select,url-select,clipboard
URxvt.keysym.M-u:               perl:url-select:select_next
URxvt.keysym.M-s:               perl:keyboard-select:search
URxvt.url-launcher:             /usr/local/bin/firefox
URxvt.url-select.launcher:      /usr/local/bin/firefox
URxvt.underlineURLs:            True
URxvt.matcher.button:           1
URxvt.keysym.M-Escape:          perl:keyboard-select:activate
URxvt.keysym.M-c:               perl:clipboard:copy
URxvt.keysym.M-v:               perl:clipboard:paste
URxvt.keysym.M-C-v:             perl:clipboard:paste_escaped
!URxvt.copyCommand:              xsel --copy --selection CLIPBOARD
!URxvt.pasteCommand:             xsel --paste --selection CLIPBOARD
URxvt.copyCommand:              /usr/local/bin/xclip -i -selection clipboard
URxvt.pasteCommand:             /usr/local/bin/xclip -o -selection clipboard

Does it mean, nothing is wrong with my setup?

Iow, after I do select with 'v' and yank within urxvt, I can paste to
other apps, e.g. other urxvt window.

But, M-c/M-c are useless. 


Is it due to the observation done by Simon?


Sincerely,
Gour

-- 
The embodied soul may be restricted from sense enjoyment, 
though the taste for sense objects remains. But, ceasing 
such engagements by experiencing a higher taste, 
he is fixed in consciousness.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810






More information about the rxvt-unicode mailing list