Manjaro i3 - Can't paste to terminal and vim with shortcuts


I'm running Manjaro i3 17.1.1 as a guest on VirtualBox on Windows 7 host. Shared clipboard is enabled bidirectionally.

On XFCE edition I always could paste from host in terminal/vim with shortcut Ctrl+Shift+V or Middle Mouse Button. On freshly installed i3 I can't do that, ctrl shift v doesn't work at all and MMB works well in terminal but vim complains about empty register, after that it pastes, BUT if I mark something in virtual machine it will paste only it and will be ignoring later copied stuff from windows.

Example of how I want it to work:

  1. copy text on windows host
  2. click on virtualbox manjaro guest window
  3. press ctrl+shift+v OR middle mouse button
  4. text is pasted

Any ideas how to make it work like that?

Rxvt terminal's default copy-paste commands are Ctrl+Alt+C and Ctrl+Alt+V.
You can change that if you want.

Add these lines in your .Xresources file:

! Perl Extensions
URxvt.perl-ext-common: default,clipboard
! Copy-Paste Keys
URxvt.iso14755: false
URxvt.iso14755_52: false
URxvt.keysym.Shift-Control-C: perl:clipboard:copy
URxvt.keysym.Shift-Control-V: perl:clipboard:paste

And run:

xrdb ~/.Xresources

Thank you!

Now I can paste with ctrl shift v both into terminal and vim perfectly fine.

And I can live with mouse wheel pasting only text I've marked in terminal - it's kinda neat actually.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by