hpr4743 :: wl-copy
Copy and paste from the Terminal in Wayland
Hosted by Klaatu on Wednesday, 2026-10-07 is flagged as Clean and is released under a CC-BY-SA license.
Linux, terminal, command.
2.
Listen in ogg,
opus,
or mp3 format. Play now:
Duration: 00:14:20
Download the transcription and
subtitles.
general.
wl-copy is a command in the wl-clipboard package, and allows you to copy and paste data from your Linux Terminal on a Wayland desktop.
Copy an arbitrary string to your clipboard using wl-copy:
$ wl-copy "hello world"
Paste it anywhere on your system as usual (with Ctrl+Shift+V or a right-click and Paste).
You can copy from output, too:
$ echo "hello wide world" | wl-copy
You can redirect to wl-copy:
$ echo "hello world" > example.txt
$ wl-copy < example.txt
You can use wl-paste to paste from your system clipboard:
$ wl-paste
"hello world"