HPR4743: wl-copy

By Klaatu07/10/2026 às 00:0056 views
Foto: CC BY-SA / Hacker Public Radio
🎙 Klaatu · Hacker Public Radio

This show has been flagged as Clean by the host.

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"

Provide feedback on this episode.

Source
Hacker Public Radio
Open original ↗
Was this news useful?

Debates 0

Be the first to contribute to the debate.

Share your information and promote your argument

Do not hesitate to publish information or data that may be positive or useful.

To join the debate, log in or create a free account.