TIL GNU/linux has 2 clipboards

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.

Holzkohlen,
@Holzkohlen@feddit.de avatar

Yes and I hate it. Wish I could just turn off such nonsense.

snaggen,
@snaggen@programming.dev avatar

You don’t have to use it…

Grass,

I didn’t realize they were different. I always thought my copy failed and tried to use one copy with the other paste.

Gsus4,
@Gsus4@feddit.nl avatar

I knew and use this, but I never thought to call it two clipboards :)

Plus I’d never heard of shift-ins, I just used ctrl-shift-c/v in graphic terminals :P

brax,

This has been a thing for like ever. Throws me off a lot in Windows when I just want a temporary clipboard to search something and nothing comes up.

I think PowerShell abides by it, but that’s it.

neosheo,

Lol i had no idea

merthyr1831,

Oh, that explains why my steamdeck layout randomly pastes text when I’m trying to use a mmb shortcut on my dang browser

radioactiveradio,

3 i use copyq with kde’s clipboard and the highlighting thingy.

JubilantJaguar,

This user, at least, has not touched a mouse in a decade. Young people do not even know what a mouse is.

pirat, (edited )

It’s like a rat but cute, right??

btw do you know how to press Ctrl on my keyboard? I have already found the key of C, they’re all white and sound good, kind of like an organ, but I can’t see any Ctrl key. Also, do I need to press the entire key of C at once to copy? It’s gonna sound intense! But I haven’t learned using all 10 fingers yet for the keyboard. I only use two, so it will be hard to press them all at once while also pressing Ctrl once I find it! Is it one of those black keys? Actually I haven’t even heard about the key of V yet… So I can’t paste before I’ve learned a lot more! I’ve only learned A to D by now. And btw how do I compile in C#? Is keyboard really supposed to be so hard to use???

vis4valentine,
@vis4valentine@lemmy.ml avatar

Ohhhhh!!! IT WORKS!

This will be so usefull in the future.

corsicanguppy,

Please stop calling it gun/Linux UNLESS you also use

  • Firestone/bus
  • chisel/David
  • vacuum/Danielle Smith

Etc.

MJBrune,

Yes, thank you! Just call it Linux.

jack,

Mimimimimimi

MJBrune,

Sorry? Are you okay?

BautAufWasEuchAufbaut,
@BautAufWasEuchAufbaut@lemmy.blahaj.zone avatar

I think going of out your way to type four more letters shows appropriate appreciation for the historical significance of the GNU project.

MJBrune,

I think that sort of pedantry over semantics is one of the reasons the Linux community has such a bad reputation.

BautAufWasEuchAufbaut,
@BautAufWasEuchAufbaut@lemmy.blahaj.zone avatar

You vlassifying it as “pedantry” supports my point. It’s also ironic, considering you told somebody else to not call it GNU+Linux instead of the other way around.

jack,

pedantry over semantics

Just call it Linux

Pick one.

waitmarks, (edited )

ah yes, Linux clipboard documentation: developer.android.com/develop/ui/…/copy-paste

lauha,

But why would you call this linux when this is not linux specific thing anyway

d6GeZtyi,

I don’t get it, why would you even be mad about someone referring it as GNU/Linux?

In that case it’s even just either X org or the wayland compositor that may implement that, not “linux”.

lambda,
@lambda@programming.dev avatar

I don’t understand a single example you gave. I always call it Linux. But, what?

loutr, (edited )
@loutr@sh.itjust.works avatar

Linux is the kernel, useless without actual programs to run on it. In general the minimal set of programs to make a Linux system actually useful (cd, ls, cat, …) are provided by the coreutils package, a GNU project.

RMS, the founder of GNU, was pissed that people were using Linux + his software and simply calling it Linux, so he insisted that the proper generic name for “Linux” distributions was actually “GNU/Linux” (i.e. GNU utilities + Linux kernel).

OP’s joke is that we name stuff without specifying their components or needed tools all the time, so we shouldn’t bother doing it for Linux.

lambda,
@lambda@programming.dev avatar

Yeah, I understood all of that. I didn’t understand the examples. Chisel, David, etc…

DaPorkchop_,

Michelangelo’s David is a well-known marble statue which was carved using a chisel.

shrugal,

Please stop lecturing people about how to talk.

possiblylinux127,

Ok, Stallman

Zekromaster,

I mean, we live in a world where there are multiple use cases for non-GNU/Linux (i.e. Alpine). Surely the distinction has become useful.

Bitrot,
@Bitrot@lemmy.sdf.org avatar

I use auto scroll a lot, middle click paste is generally an immediate no for me.

pinchcramp,
@pinchcramp@lemmy.dbzer0.com avatar

How do middle-click-to-paste and middle-click-to-scroll conflict? In Firefox I can click-to-paste if the cursor is over an input field and click-to-scroll anywhere else. Never had any problem with this behavior.

JWBananas,
@JWBananas@startrek.website avatar

How do middle-click-to-paste and middle-click-to-scroll conflict?

Some of us are clumsy.

pinchcramp,
@pinchcramp@lemmy.dbzer0.com avatar

That’s not something I thought about. Good thing that you can disable the feature then

stepanzak,

How did you setup auto scroll? It doesn’t work for me.

MJBrune,

You can’t in most apps but Firefox allows it. It requires an app to specifically enable the behavior instead. It’s terrible.

Blizzard,

Is it possible to have have a Windows 10-like clipboard in Mint? Where you can copy multiple stuff with ctrl+c and then press super+v to have a dropdown of things that you copied with a possiblity to pin some of them?

elkalbil, (edited )
@elkalbil@jlai.lu avatar

Klipper on KDE offers a clipboard history. Don’t know about other DEs.

ExLisper,

gitlab.com/doertydoerk/clipmangithub.com/diodon-dev/diodongithub.com/CristianHenzel/ClipItgithub.com/hluk/CopyQ

And probably more. Anything than can be done in Windows was available in Linux 10 years earlier.

6xpipe_,
@6xpipe_@lemmy.world avatar

What your talking about is called a clipboard manager, and there are tons of them out there. All with varying features.

demonsword,
@demonsword@lemmy.world avatar

qlipper is the one I use the most

duncesplayed,

Ironically neither GNU nor Linux has a clipboard (well GNU Emacs probably has like 37 of them for some reason). “Primary selection” (the other clipboard that people don’t tell you about) started off on X11, which of course had to implement by XFree86, which became Xorg, and then it copied (ha ha) by other non-X-related software like gpm and toolkits like GTK when using Wayland.

4ffy,

Emacs’s regular clipboard is the “kill ring” which also allows you to retrieve any previously cut/copied text. It also has “registers” where you can store and retrieve snippets of text, which can be considered clipboards when used for this purpose. Registers can be referenced by any character you can type on your keyboard, including control characters like ^D.

This totals… a lot of clipboards.

tacostrange,

Wow! TIL too, thanks!

donio,

Clipboard managers often have an option to synchronize them. There are standalone tools as well, autocutsel for example.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines