The officially official Devuan Forum!

You are not logged in.

#1 2019-02-14 16:45:17

w3
Member
Registered: 2018-08-27
Posts: 14  

Copy, past urxvt-unicode in Devuan Ascii

Hy

I am not able to configure copy / paste in rxvt-unicode

Install packages:

apt-get install rxvt-unicode xsel

my .Xresources configuration file has the following lines of settings.

URxvt.perl-ext-common: default,matcher,tabbedex,vtwheel,clipboard,url-select,keyboard-select
URxvt.keysym.Shift-Control-C: perl:clipboard:copy
URxvt.keysym.Shift-Control-V: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.copyCommand: xsel  -c -s clip
URxvt.pasteCommand: xsel -p -s clip

Something's missing?

Offline

#2 2019-02-14 21:24:39

thierrybo
Member
Registered: 2017-11-11
Posts: 39  

Re: Copy, past urxvt-unicode in Devuan Ascii

I did not added any copyCommand or pasteCommand to my .Xresources and a can copy with Ctl + Alt + C and paste with Ctrl + Alt + V, in addition to mouse selection + mouse Middle click to paste

Last edited by thierrybo (2019-02-14 21:27:06)

Offline

#3 2019-02-15 08:56:36

Geoff 42
Member
Registered: 2016-12-15
Posts: 263  

Re: Copy, past urxvt-unicode in Devuan Ascii

I do not have a .Xresources file but it just works for me. I am using rxvt-unicode-256color under LXDE and LXQt and normally use left mouse for select and middle mouse click for paste, although I have just tested that right mouse also works for extending the selected area. Having read the above post, I checked that <ctl><alt>c and <ctl><alt>v do also work as described.

Geoff

Offline

#4 2019-02-18 09:03:30

w3
Member
Registered: 2018-08-27
Posts: 14  

Re: Copy, past urxvt-unicode in Devuan Ascii

Is possible share your's .Xresources?

Offline

#5 2019-02-18 18:22:01

thierrybo
Member
Registered: 2017-11-11
Posts: 39  

Re: Copy, past urxvt-unicode in Devuan Ascii

! urxvt -------------------------------------------

!!!!!!!!!!URxvt.font: xft:Monospace:size=11
!!!!!!!!!!URxvt.boldFont: xft:Monospace:Bold:size=11
URxvt.font: xft:DejaVu Sans Mono for Powerline:size=11
URxvt.boldFont: xft:DejaVu Sans Mono for Powerline:Bold:size=11
!URxvt.font: xft:Source Code Pro Medium:size=11:antialias=true:hinting=true:hintstyle=hintslight
! letterSpace fait bugguer POWERLINE, certains caractères ne s_affichent pas correctement
! qu'à une certaine size, alors que normalement c'est quelque soit la size
!!!!!!!!!!URxvt.letterSpace: -2
! Add fallback fonts as laid out in `man 1 urxvt` under "font:" in the RESOURCES section

! Window size and position
!URxvt*geometry: 60x22+50+100
! Window size, let the Window Manager position it
URxvt.geometry: 80x28

URxvt.scrollstyle: plain
URxvt.scrollBar: true
URxvt.scrollBar_right: true
URxvt.iconFile: /usr/share/icons/Adwaita/48x48/apps/utilities-terminal.png

! Grey theming
!URxvt*background: #cecece
!URxvt*foreground: #101010
! Terminator Crunchbang colours
URxvt.background: [85]#2e3436
URxvt.foreground: #d8d8d8
! je met les couleurs de terminator (fond noir au lieu d_être gris foncé)
! s-adapte mieux à POWERLINE, sinon "master" ne ressort plus (gris sur gris)
!URxvt.background: [85]#000000
/* URxvt.foreground: #888888 */
!URxvt.foreground: #AAAAAA

! scrollback buffer lines - 65535 is max (64 is default)
URxvt.saveLines:16384

! True Transparency, opacity percentage set in square brackets before URxvt.background colour
URxvt.depth: 32

! Clickble URLs
URxvt.perl-ext-common: default,matcher,font-size
URxvt.url-launcher: /usr/bin/x-www-browser
URxvt.matcher.button: 3

! Custom colourscheme, see http://terminal.sexy/ for more ideas.

! Black
URxvt.color0: #000000
URxvt.color8: #666666

! Red
URxvt.color1: #9e1828
URxvt.color9: #cf6171

! Green
URxvt.color2: #aece92
URxvt.color10: #c5f779

! Yellow
URxvt.color3: #968a38
URxvt.color11: #fff796

! Blue
URxvt.color4: #414171
URxvt.color12: #4186be

! Magenta
URxvt.color5: #963c59
URxvt.color13: #cf9ebe

!Cyan
URxvt.color6: #418179
URxvt.color14: #71bebe

! White
URxvt.color7: #bebebe
URxvt.color15: #ffffff

! Colourised man pages, also changes scheme for htop(1) and others.
!
! Headings:
URxvt.colorBD: #cf6171
!
! Underline:
URxvt.colorUL: #4186be
!
! Italicised:
URxvt.colorIT: #71bebe

! resize-font ++++++++++++++++++++++++++

! And re-bind some keymappings (if you want, below are the defaults):
! URxvt.keysym.C-minus:     resize-font:smaller
! URxvt.keysym.C-plus:      resize-font:bigger
! URxvt.keysym.C-equal:     resize-font:reset
! URxvt.keysym.C-question:  resize-font:show
!
! You can also configure the number of steps to take when changing the size:
! URxvt.resize-font.step: 2
!URxvt.keysym.C-Down:     resize-font:smaller
!URxvt.keysym.C-Up:      resize-font:bigger

! font-size ++++++++++++++++++++++++++

URxvt.keysym.C-Up:     font-size:increase 
URxvt.keysym.C-Down:   font-size:decrease
URxvt.keysym.C-equal:  font-size:reset 
URxvt.keysym.C-questions:  font-size:show

Offline

#6 2019-02-19 14:44:56

Ogis1975
Member
Registered: 2017-04-21
Posts: 98  

Re: Copy, past urxvt-unicode in Devuan Ascii

And here's my configuration

#include ".xrdb/color/solarized"
#include ".xrdb/rofi/nord"


URxvt.font: xft:Liberation Mono:size=10 :antialias=true:autohint=false
URxvt.boldFont: xft:Liberation Mono:Bold:size=10 :antialias=true:autohint=false
URxvt.geometry: 		72x18
URxvt*letterSpace: 	    0
URxvt.lineSpace: 		0
URxvt*internalBorder:   24
URxvt*externalBorder:   0
URxvt*depth:            32
URxvt*saveline:         2000
URxvt*termName:         rxvt-256color
URxvt*iso14755:         false
URxvt*scrollBar:        false
URxvt*scrollBar_right:  false
URxvt.copyCommand:      xclip -i -selection clipboard
URxvt.pasteCommand:     xclip -o -selection clipboard
URxvt.keysym.Shift-Up:	command:\033]720;1\007
URxvt.keysym.Shift-Down:command:\033]721;1\007
URxvt.urlLauncher:      firefox
URxvt.underlineURLs:    true
URxvt.urlButton:        1
URxvt*buffered:         false          
URxvt.urgentOnBell: 	True

Offline

Board footer