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 10: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 11:07 AM

There are quite a few programs. Try xsel.

Another is xclip.

catkin 09-18-2010 11:20 AM

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 11:25 AM

I use Gnome.

bigrigdriver 09-18-2010 11:42 AM

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 11:46 AM

Thanks.


All times are GMT -5. The time now is 12:54 PM.