HPR4743: wl-copy

Źródło: Hacker Public RadioOtwórz w oryginalnym źródle ↗
Przez Klaatu07/10/2026 às 00:00309 wyświetlenia
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.

Źródło
Hacker Public Radio
Otwórz oryginał ↗
Czy ta wiadomość była przydatna?

Komentarze 0

Seja o primeiro a contribuir com o debate.

Difunda suas informações e promova seu argumento

Nie wahaj się dzielić przydatnymi informacjami.

Aby uczestniczyć w debacie, zaloguj się lub załóż darmowe konto.