xsel for buffer
Contents
Install package to save file context into clipboard buffers:
|
|
To save in the primary (to paste: Shift + Insert
, xsel -po
):
|
|
To save in the secondary (to paste: xsel -so
)
|
|
xsel -x
- Exchange the PRIMARY and SECONDARY selections
To save in the clipboard (to paste: Ctrl + V
, xsel -bo
)
|
|
From man:
1 2 3 4
Selection options -p, --primary Operate on the PRIMARY selection (default) -s, --secondary Operate on the SECONDARY selection -b, --clipboard Operate on the CLIPBOARD selection