this post was submitted on 14 May 2026
10 points (91.7% liked)

Linux

17495 readers
105 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I'm using arch btw, with KDE and wayland. Posting this incase anyone else is having similar problems.

Some commands that relied on wl-copy like pass -c would return empty pastes.

My guess is that the xdg-mime query (from xdg-utils) returns empty output on KDE, and that wl-copy relies on this to determine the MIME type of piped data, and when it gets nothing back, the clipboard MIME type is corrupted.

The fix was replacing wl-clipboard with wl-clipboard-rs which is a rust re-implementation of wl-copy/wl-paste that doesn't depend on xdg-mime for MIME detection.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here