-   Linux - Newbie (
-   -   How to copy to clipboard using bash command? (

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:

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, and enter this search phrase: bash copy to clipboard.

Then start reading. Here is my favorite return on that search: But there others as well.

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


All times are GMT -5. The time now is 01:31 AM.