General Computing
copy-paste clipboard byobu
Updated Wed, 05 Oct 2022 11:35:37 GMT

How can I copy to the system clipboard from byobu?

How can I copy to the x system clipboard from byobu?

I know how to copy and paste within byobu ( and I can easily paste from the system clipboard into byobu with the expected ctrl+shift+V

I would ideally like to be able to highlight with the mouse or in byobu scroll mode and then ctrl+shift+c and/or right-click-> copy If that is not going to be possible, integration of the internal byobu clipboard with the system clipboard would be grand. Or any other solutions folk might use / have in mind? Surely this is a common task? I frequently want to copy from the terminal and paste into the browser, for example.

The only two solutions I have seen are:

1) An outrageous hack involving many keystrokes:

2) Selecting and copying to the internal buffer followed by: echo [alt][insert] | xclip -selection c

How can I do this (surely very common?) task with less than a dozen keystrokes every time? :)


Try holding the Shift key:

  • Shift + mark text with the mouse
  • Shift + right click -> copy

Comments (2)

  • +0 – thanks, yes, that does it. Also need to do shift+F11 to zoom in to just that panel. — Jun 17, 2019 at 10:34  
  • +0 – I have dificulties to use this method when the test spans more than one page. The selection often disappers after some slight movenent. — Oct 08, 2020 at 14:41