Jason,
        Most cliboard stuff is is a function of the individual window manager.
KDE has a protocol to allow apps to communicate called DCOP.  They also
include a command ine tool by the same name which allows you to (among
other things) send data to the clipboard where it can be retrieved using
Ctrl+V or a middle click.  I don't know what method gnome uses if any,
but the bit below should do the trick in a KDE environment.
                        -Mike

In KDE try:
dcop klipper klipper setClipboardContents "$(script_to_produce_output)"



http://www.euglug.org/mailman/listinfo/euglug
"Software Engineering is that part of Computer Science which is too
difficult for the Computer Scientist." --— F. L. Bauer.


On Wed, 2006-02-15 at 16:25 -0800, Jason LaPier wrote:
> How do I redirect shell (bash) output to the clipboard?
> 
> I know I can manually select it or redirect it to a file, but it's long and
> I'm just going to copy and paste anyway - I know there's a way to > or | it
> straght to clip...
> 
> 
> - Jason 
> 
> _______________________________________________
> EUGLUG mailing list
> [email protected]
> 
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to