Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -selection
- specify which X selection to use, options are:
- "primary" to use XA_PRIMARY (default),
- "secondary" for XA_SECONDARY
- "clipboard" for XA_CLIPBOARD
- echo "Hello world" | xclip -i selection primary | xclip -i selection clipboard
- echo "Hello World" | xclip -i -sel p -f | xclip -i -sel c
- -f, -filter
- when xclip is invoked in the in mode with output level set to
- silent (the defaults), the filter option will cause xclip to print
- the text piped to standard in back to standard out unmodified
- echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement