xcut - Manipulate X cut buffers from command line
[-display displayname] [-p]
This is the manual page for xcut
Xcut takes the contents of standard input and store it into the X cut and paste
buffer. The data is then available for pasting into applications which support
cut and paste operations.
I was initially looking for something that would generate canned shell commands
and stick them in the X cut buffer so all the user needed to do was do hit the
middle mouse button in an xterm and the commands would be executed. The
original idea was to stick a short shell script to insert a MIT-MAGIC-COOKIE
entry in the .Xauthority file, but I´ve found xcut
other things such as pasting the output of shell commands into mail messages
and so forth.
- Connect to the specified X host, display number and screen.
- Paste contents of X cut buffer to standard output.
environment variable is used for the name of the X display to
connect to if the -display
command line option is not present.
Tim Potter, <firstname.lastname@example.org>