xyb3rt / urxvt-perls

Perl extensions for the rxvt-unicode terminal emulator
GNU General Public License v2.0
754 stars 110 forks source link

Doubts on usage #87

Closed tigerjack closed 6 years ago

tigerjack commented 6 years ago

I'm having some problems using your keyboard-select perl extension. I can easily enter the "selection mode" and copy the text but, as said in the script comments, it only copy the selection on the primary buffer. Is there any way to have it on the clipboard? I've also tried to add the selection-to-clipboard to the list of perl extensions, but it doesn't seem to work for me. The only workaround I've found at the moment is to use xsel -o -p | xsel -i -b. Surely I can bind it to a shortcut, but I was wondering if there is a better way.

You can see my .Xresouces configuration here I'm using rxvt-unicode (urxvt) v9.22 and urxvt-perls-2.2-1 on Arch Linux.

xyb3rt commented 6 years ago

Please have a look at the new URxvt.keyboard-select.clipboard X resource.

tigerjack commented 6 years ago

Hey @muennich , could you please be more specific? I've tried to add URxvt.keyboard-select.clipboard:true to the .Xresources configuration, but it doesn't seem to work.

xyb3rt commented 6 years ago

You need to install the latest version of keyboard-select from the repo in order to get the clipboard resource.