1XCLIPBOARD(1) General Commands Manual XCLIPBOARD(1)
2
3
4
6 xclipboard - X clipboard client
7
9 xclipboard [ -toolkitoption ... ] [ -w ] [ -nw ]
10
12 The xclipboard program is used to collect and display text selections
13 that are sent to the CLIPBOARD by other clients. It is typically used
14 to save CLIPBOARD selections for later use. It stores each CLIPBOARD
15 selection as a separate string, each of which can be selected. Each
16 time CLIPBOARD is asserted by another application, xclipboard transfers
17 the contents of that selection to a new buffer and displays it in the
18 text window. Buffers are never automatically deleted, so you'll want
19 to use the delete button to get rid of useless items.
20
21 Since xclipboard uses a Text Widget to display the contents of the
22 clipboard, text sent to the CLIPBOARD may be re-selected for use in
23 other applications. xclipboard also responds to requests for the CLIP‐
24 BOARD selection from other clients by sending the entire contents of
25 the currently displayed buffer.
26
27 An xclipboard window has the following buttons across the top:
28
29 quit When this button is pressed, xclipboard exits.
30
31 delete When this button is pressed, the current buffer is deleted and
32 the next one displayed.
33
34 new Creates a new buffer with no contents. Useful in constructing
35 a new CLIPBOARD selection by hand.
36
37 save Displays a File Save dialog box. Pressing the Accept button
38 saves the currently displayed buffer to the file specified in
39 the text field.
40
41 next Displays the next buffer in the list.
42
43 previous
44 Displays the previous buffer.
45
47 The xclipboard program accepts all of the standard X Toolkit command
48 line options as well as the following:
49
50 -w This option indicates that lines of text that are too long to
51 be displayed on one line in the clipboard should wrap around to
52 the following lines.
53
54 -nw This option indicates that long lines of text should not wrap
55 around. This is the default behavior.
56
58 In order to specify resources, it is useful to know the hierarchy of
59 the widgets which compose xclipboard. In the notation below, indenta‐
60 tion indicates hierarchical structure. The widget class name is given
61 first, followed by the widget instance name.
62
63 XClipboard xclipboard
64 Form form
65 Command Quit
66 Command delete
67 Command new
68 Command Save
69 Command next
70 Command prev
71 Label index
72 Text text
73 TransientShell fileDialogShell
74 Dialog fileDialog
75 Label label
76 Command accept
77 Command cancel
78 Text value
79 TransientShell failDialogShell
80 Dialog failDialog
81 Label label
82 Command continue
83
84
86 Text is copied to the clipboard whenever a client asserts ownership of
87 the CLIPBOARD selection. Text is copied from the clipboard whenever a
88 client requests the contents of the CLIPBOARD selection. Examples of
89 event bindings that a user may wish to include in a resource configura‐
90 tion file to use the clipboard are:
91
92 *VT100.Translations: #override \
93 <Btn3Up>: select-end(CLIPBOARD) \n\
94 <Btn2Up>: insert-selection(PRIMARY,CLIPBOARD) \n\
95 <Btn2Down>: ignore ()
96
97
98
100 X(7), xcutsel(1), xterm(1), individual client documentation for how to
101 make a selection and send it to the CLIPBOARD.
102
104 DISPLAY to get the default host and display number.
105
106 XENVIRONMENT
107 to get the name of a resource file that overrides the global
108 resources stored in the RESOURCE_MANAGER property.
109
111 /usr/share/X11/app-defaults/XClipboard
112 specifies required resources
113
115 Ralph R. Swick, DEC/MIT Project Athena
116 Chris D. Peterson, MIT X Consortium
117 Keith Packard, MIT X Consortium
118
119
120
121X Version 11 xclipboard 1.1.2 XCLIPBOARD(1)