6

I want to be able to copy and paste between Byobu and Firefox without having to use a mouse. I could write the copy buffer to a file and open that file with Gedit but I was wondering if there was a more elegant way.

daithib8
  • 3,351

1 Answers1

3

You can use XSel (install) to insert the text into the X selection buffer:

echo "paste your buffer from byobu/screen here" | xsel

Use -b/--clipboard to copy to CLIPBOARD selection instead of PRIMARY.

Pablo Bianchi
  • 15,657
Egil
  • 14,162