Copy to Xorg clipboard from the command line

From the command line, you can copy large amounts of text to your clipboard, to be pasted in an grapical app, using xsel.

xsel --clipboard < some-text-some-text-some-text-that-is-text-TEXT.txt

Now you can paste in Libre Office, Firefox, or what have you. Rejoice!

unix xorg

Edit on github
comments powered by Disqus
Click me