← Software

wl-clipboard

Command-line clipboard utilities for Wayland.

wl-clipboard ships wl-copy and wl-paste, the Wayland counterparts of xclip and xsel. They behave roughly the same way and let terminal-based programs interact with the system clipboard on Wayland sessions, where the older X11-only tools no longer have a connection to the display server.

Sergey Bugaev wrote wl-clipboard, with both binaries deliberately small and command-line-compatible with xclip's most common options. It works under any Wayland compositor that implements the wl_data_device protocol — GNOME, KDE Plasma, Sway, Hyprland, Wayfire, and more.

The package is now standard in Wayland-default distributions. Many shell aliases and scripts that used to call xclip have been quietly updated to use wl-copy / wl-paste, and dotfile templates typically detect the session type and choose the right command at runtime.

License: GPL-3.0-or-later

Category: CLI tools

Website: https://github.com/bugaevc/wl-clipboard

Install

Debian/Ubuntu: sudo apt install wl-clipboard
Fedora/RHEL:   sudo dnf install wl-clipboard
Arch:          sudo pacman -S wl-clipboard

Authors

  • Sergey Bugaev (creator)
PreviousWireshark NextWordPress

This site is currently in Beta. Contact: Chris Paton

Textbook of AI · Textbook of Usability · Textbook of Digital Health

Auckland Maths and Science Tutoring