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.

Giovanni Toraldo
  • 500
  • 5
  • 12
daithib8
  • 3,311
  • 3
  • 24
  • 36

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
  • 14,308
  • 4
  • 74
  • 117
Egil
  • 14,002
  • 2
  • 45
  • 54