xclipboard - X clipboard client
xclipboard [-toolkitoption ...] [-w] [-nw]
The xclipboard(1) program is used to collect and display text selections that are sent to the CLIPBOARD by other clients. It is typically used to save CLIPBOARD selections for later use. It stores each CLIPBOARD selection as a separate string, each of which can be selected. Each time CLIPBOARD is asserted by another application, xclipboard(1) transfers the contents of that selection to a new buffer and displays it in the text window. Buffers are never automatically deleted, so you should use the delete button to get rid of useless items.
Because xclipboard(1) uses a Text Widget to display the contents of the clipboard, text sent to the CLIPBOARD can be reselected for use in other applications. The xclipboard(1) utility also responds to requests for the CLIPBOARD selection from other clients by sending the entire contents of the currently displayed buffer.
The xclipboard(1) window displays the following buttons across the top:
The xclipboard(1) program accepts all of the standard X Toolkit command-line options, as well as the following:
In order to specify resources, it is useful to know the hierarchy of the widgets which compose xclipboard(1). In the following notation, indentation indicates hierarchical structure. The widget class name is given first, followed by the widget instance name.
XClipboard xclipboard
Form form
Command quit
Command delete
Command new
Command next
Command prev
Text text
Text is copied to the clipboard whenever a client asserts ownership of the CLIPBOARD selection. Text is copied from the clipboard whenever a client requests the contents of the CLIPBOARD selection. Examples of event bindings that a user might want to include in a resource configuration file to use the clipboard are as follows:
*VT100.Translations: #override \
<Btn3Up>:select-end(CLIPBOARD) \n\
<Btn2Up>:insert-selection(PRIMARY,CLIPBOARD) \n\
<Btn2Down>:ignore ()
X(5)
xcutsel(1)
xterm(1)
See individual client documentation for information on how to make a selection and send it to the CLIPBOARD.