Loading clipboard programmatically

Ray Parrish crp at cmc.net
Wed Jun 24 01:25:32 UTC 2009


Ray Leventhal wrote:
> Ray Parrish wrote:
>   
>> Hello,
>>
>> Does anyone know if there is a way to write a script with bash or perl 
>> which will load a value into the clipboard from a text file?
>>
>> Thanks for any help you can be.
>>
>> Later, Ray Parrish
>>
>>     
> Hi Ray,
>
> You may well have seen this but it looks like it may be the sort of 
> thing you're looking for.  Untried or tested by me...
>
> http://www.opensourcescripts.com/dir/Unix_Shell/Systems_Administration/bics__bash_interactive_clipboard_script_1923.html
>
> -Ray
>   
Hello again,

I took a look at that, and it did not fit my purposes, as it loads 
nothing to the regular clipboard. However, I did find the following 
thread which showed me the command I needed for what I wanted once I 
installed xclip and figured out how to use it.

<http://ubuntuforums.org/showthread.php?t=1152881>

Later, Ray Parrish

-- 
Ray's Links, a variety of links to usefull things, and articles by Ray.
http://www.rayslinks.com
Writings of "The" Schizophrenic, what it's like to be a shizo, and other
things including my poetry.
http://www.writingsoftheschizophrenic.com






More information about the ubuntu-users mailing list