Post History
Use xclip(1). For example: $ printf '%s' foo | xclip; And now Shift+Insert to paste. There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between t...
Answer
#3: Post edited
- Use xclip(1).
- For example:
- ```
- $ printf '%s' foo | xclip;
- ```
- And now Shift+Insert to paste.
There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between those, which will change the combination of keys for pasting (this also depends on the application where you're pasting. You can also paste with `xclip -o` back to the terminal.
- Use xclip(1).
- For example:
- ```
- $ printf '%s' foo | xclip;
- ```
- And now Shift+Insert to paste.
- There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between those, which will change the combination of keys for pasting (this also depends on the application where you're pasting). You can also paste with `xclip -o` back to the terminal.
#2: Post edited
- Use xclip(1).
- For example:
- ```
$ printf foo | xclip;- ```
- And now Shift+Insert to paste.
- There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between those, which will change the combination of keys for pasting (this also depends on the application where you're pasting. You can also paste with `xclip -o` back to the terminal.
- Use xclip(1).
- For example:
- ```
- $ printf '%s' foo | xclip;
- ```
- And now Shift+Insert to paste.
- There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between those, which will change the combination of keys for pasting (this also depends on the application where you're pasting. You can also paste with `xclip -o` back to the terminal.
#1: Initial revision
Use xclip(1). For example: ``` $ printf foo | xclip; ``` And now Shift+Insert to paste. There's a primary selection, a secondary selection, and a clipboard selection, and you can chose between those, which will change the combination of keys for pasting (this also depends on the application where you're pasting. You can also paste with `xclip -o` back to the terminal.