in reply to Re^2: how do I place text into clipboard on Linux?
in thread how do I place text into clipboard on Linux?

Tk::Clipboard is included in Linux's Tk.

Use it like this (very simple)...

use Tk::Clipboard; my $mw = MainWindow->new(); ... ## after having what you want to copy... $mw->clipboardClear; ## prepare the clipboard (ne +w entry) $mw->clipboardAppend($selected_list); ## copy it (see perldoc)
Please, read the perldoc for more types of data that could be added to the clipboard. It defaults to strings.

If you don't use clipboardClear before the second or successive copies, it concatenates what you copy...

{ \ ( ' v ' ) / }
( \ _ / ) _ _ _ _ ` ( ) ' _ _ _ _
( = ( ^ Y ^ ) = ( _ _ ^ ^ ^ ^
_ _ _ _ \ _ ( m _ _ _ m ) _ _ _ _ _ _ _ _ _ ) c h i a n o , a l b e r t o
Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established