Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add special target atoms documentation. #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions xclip.1
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ when the last character of the selection is a newline character, remove it. Newl
number of X selection requests (pastes into X applications) to wait for before exiting, with a value of 0 (default) causing xclip to wait for an unlimited number of requests until another application (possibly another invocation of xclip) takes ownership of the selection.
.TP
\fB\-t\fR \fIt\fR, \fB\-target\fR \fIt\fR
specify a particular data format using the given target atom. With \fB\-o\fR the
special target atom name "TARGETS" can be used to get a list of valid target
atoms for this selection. The default target is "STRING". For more information
about target atoms refer to ICCCM section 2.6.2
specify a particular data format using the given target atom. The default target is "STRING".
Some target atoms have a specfic semantic.
With \fB\-o\fR the special target atom name "TARGETS" can be used to get a list of valid target
atoms for this selection.
With \fB\-o\fR the special target atom name "TIMESTAMP" can be used to get the timestamp used to acquire the selection.
With \fB\-o\fR the special target atom name "MULTIPLE" can be used to... (see example below).
With \fB\-o\fR the special target atom name "SAVE_TARGETS" can be used to ...
For more information about target atoms refer to ICCCM section 2.6.2
.TP
\fB\-d\fR, \fB\-display\fR
X display to use (e.g. "localhost:0"), xclip defaults to the value in $\fBDISPLAY\fR if this option is omitted
Expand Down Expand Up @@ -114,6 +118,11 @@ Middle click in an X application supporting HTML to paste the contents of the gi
.PP
Exit after /etc/motd (message of the day) has been pasted 10 times. Show how many selection requests (pastes) have been processed.

.B uptime | xclip -o -t MULTIPLE test/html= text=
.PP
Put your uptime in ...


.SH NOTES

Using the \fB\-sensitive\fR option will clear the selection buffer of the
Expand Down