25
submitted 11 months ago* (last edited 11 months ago) by UnRelatedBurner@sh.itjust.works to c/linux@lemmy.ml

I just started noticing it like half an hour ago. I'm fairly new to this OS, so I have no idea where to look for any logs or anything.

I took a screenshot with Spectacle, and instead of it putting it into the clipboard it cleared it. Then when chatting on Discord (thru Vencord) and pressing ctrl-A & ctrl+X to write another message first, ctrl+V didn't paste as my clipboard was empty. the screenshot happened multiple times, text only once. I can't replicate it. I'm on Arch KDE, checked the clipboard setting, I don't have a hotkey that I may be fat-fingering. I tried rebooting.

I tried abusing the clipboard while writing this, and just to mock me everything worked. So this might be a spam post without me even knowing, in that case I'm sorry; But please tell me how I can look at the logs, maybe I can catch it red handed still.

edit: no problem since, I haven't done anything. Sorry for wasting your time.

top 9 comments
sorted by: hot top controversial new old
[-] adamnejm@programming.dev 8 points 11 months ago

Clipboard in Linux is weird. Can you replicate this:

  1. Copy text
  2. Close the application you copied from
  3. Paste into a different application
  4. Nothing appears

If so, that means you don't have a clipboard manager running, default for KDE is Klipper I believe.

[-] UnRelatedBurner@sh.itjust.works 1 points 11 months ago

step 4 didn't happen. AKA it works now. I have a guess as of why a random app wouldn't be running. And it makes sense that closing would clear it, as screenshotting opens a fullscreen app. But I don't get it, how can closing an application delete my clipboard?

[-] somethingsomethingidk@lemmy.world 4 points 11 months ago

This explains it. Especially the section about selections. A program "owns" the "clipboard" and if it stops it is released. Aka bye bye copied data

[-] UnRelatedBurner@sh.itjust.works 1 points 11 months ago

Got around to reading it, good to know. Thanks!

[-] Ludrol@szmer.info 4 points 11 months ago* (last edited 11 months ago)

Does your second clipboard work? Select text to copy, paste with middle click.

You coud try to install widget to see your clipboard history.

[-] UnRelatedBurner@sh.itjust.works 2 points 11 months ago

it does, and it haven't cleared since. Idk what's going on, hope it was a one off thing.

[-] PoliticalCustard@lemmygrad.ml 2 points 11 months ago

There's a reported bug that sounds sorta kinda a bit like your situation? https://bugs.kde.org/show_bug.cgi?id=469756

[-] palordrolap@kbin.social 1 points 11 months ago

Do you have a password manager installed?

The one I use can populate the clipboard with usernames, passwords, etc. for easy pasting but I'm pretty sure it clears the clipboard after a time for security.

If the clipboard is used for something else within that time window, that could be cleared out instead, I imagine. Caveats being that maybe mine is smarter than that or my memory isn't great so even if it has happened I don't remember. The fact this idea occurred to me makes me wonder though.

Also, different applications do things differently so maybe even if mine doesn't, yours might, etc.

The fact it was a one-off might also tie in because we log into things about as sporadically as one-off weird things happening, and you might not have connected the two, so to speak, if that's what's happened.

[-] UnRelatedBurner@sh.itjust.works 1 points 11 months ago

I'd love for this to be the case. But no, sadly I have not moved to a password manager, YET. My ongoing best theory is that Klipper stopped.

this post was submitted on 13 Jan 2024
25 points (100.0% liked)

Linux

48655 readers
1510 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