LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to copy to clipboard using bash command? (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-copy-to-clipboard-using-bash-command-833041/)

Mr. Alex 09-18-2010 11:07 AM

How to copy to clipboard using bash command?
 
Tried this, but there's no such a command in Arch.

And this also doesn't work:
Code:

find ~ | grep -i pidgin | xclipboard
Error: another clipboard is already running

Please advise.

harryhaller 09-18-2010 12:07 PM

There are quite a few programs. Try xsel.

Another is xclip.

catkin 09-18-2010 12:20 PM

Which desktop are you using? Netsearching for the error message suggests the problem is caused by a restriction in Gnome -- but I found no solution :(

Might be worth trying gclipper ... ?

Mr. Alex 09-18-2010 12:25 PM

I use Gnome.

bigrigdriver 09-18-2010 12:42 PM

Point your favorite browser at www.google.com/linux, and enter this search phrase: bash copy to clipboard.

Then start reading. Here is my favorite return on that search: http://linuxtidbits.wordpress.com/20...-to-clipboard/. But there others as well.

Mr. Alex 09-18-2010 12:46 PM

Thanks.


All times are GMT -5. The time now is 07:18 AM.