206
submitted 1 year ago by mfat@lemdro.id to c/linux@lemmy.ml

Pretty sure most of you already know this but for those who don't: you have two clipboards in Linux. One is the traditional clipboard where you copy with control c and paste with control v. The other one is when you highlight text and use the mouse middle click to paste text.

More details here.

you are viewing a single comment's thread
view the rest of the comments
[-] JWBananas@startrek.website 70 points 1 year ago
[-] d3Xt3r@lemmy.nz 16 points 1 year ago* (last edited 1 year ago)

Is this applicable for Wayland as well? That link makes several references to X and its ecosystem of tools.

[-] Chewy7324@discuss.tchncs.de 14 points 1 year ago

If I understand it correctly, Wayland only specifies a single clipboard but no primary. But most (all?) wayland compositors implement an additional protocol that's also supported by the toolkits (gtk, qt, ...) and programs like wl-clipboard.

So yes, wayland also has clipboard + primary. But no secondary, as far as I found. Though I never used secondary on X anyway.

this post was submitted on 08 Oct 2023
206 points (100.0% liked)

Linux

48670 readers
564 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS