[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command line utility to put stdin into the X 'current selection' clipboard



On Thursday 10 October 2002 11:18, Crispin Wellington wrote:
> Is there a shell utility that can take stdin and put it into an X
> clipboard. The 'current selection' clipboard would be ideal, but any of
> the X Clipboard's would suffice. For example
>
> ls | someutility
>
> and then middle mouse click (or ctrl-v) somewhere else to paste the
> text?
>
> Thanks
> Crispin Wellington

apt-get install xclip
ls | xclip -in
<middle click>

(-:



Reply to: