Anything you highlight in Linux, regardless of the program, is put into a special clipboard buffer, which you can paste using your mouse’s middle (wheel) button (which is emulated on many laptops by pushing both buttons at the same time)

podtech
podtech