HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

wl-paste — Paste content in Wayland clipboard. See also: `wl-copy`, `xclip`. More information: <https://github.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandwaylandclipboardcontentcliwl-pastepastesee
linux

Problem

How to use the wl-paste command: Paste content in Wayland clipboard. See also: wl-copy, xclip. More information: <https://github.com/bugaevc/wl-clipboard>.

Solution

wl-paste — Paste content in Wayland clipboard. See also: wl-copy, xclip. More information: <https://github.com/bugaevc/wl-clipboard>.

Paste the contents of the clipboard:
wl-paste


Paste the contents of the primary clipboard (highlighted text):
wl-paste --primary


Write the contents of the clipboard to a file:
wl-paste > {{path/to/file}}


Pipe the contents of the clipboard to a command:
wl-paste | {{command}}

Code Snippets

Paste the contents of the clipboard

wl-paste

Paste the contents of the primary clipboard (highlighted text)

wl-paste --primary

Write the contents of the clipboard to a file

wl-paste > {{path/to/file}}

Pipe the contents of the clipboard to a command

wl-paste | {{command}}

Context

tldr-pages: linux/wl-paste

Revisions (0)

No revisions yet.