This has been one of my pain points switching from macOS to linux or windows. Great job.
https://github.com/murat-cileli/clyp/blob/2c0ce6c33813c3f35f...
Edit: Yes, tested it now and it doesn't detect clipboard events from Wayland windows when it doesn't have focus. It only detects events from Xwayland windows when unfocused, or if I copy something from a Wayland window and then focus the clyp window then it detects the thing I copied.
Now the compositor could certainly keep an additional list of trusted applications that are allowed to be clients of the ext_data_control_v1 protocol. Though identifying the client to enforce such a thing is a bigger problem than just maintaining a list of applications, because the protocol has no client identification. AFAIK every compositor that supports that protocol has no restrictions on clients requesting it, though something involving the security-context protocol might change this in the future.
I'm not sure how a clipboard manager would know the text copied in was a password (or 2fa).
This wouldn't prevent the malware that's constantly scanning the clipboard from stealing your password; it would only prevent you from using it after it's been stolen.
You can also pin some entries so that they are permanently available, but that's a bonus.
I haven't seen a clipboard manager behave like that in Linux - can this one be used in a similar way?
Edit: Supports pinning and binding it to Super+V as well!
[0] https://extensions.gnome.org/extension/4839/clipboard-histor...
How does it deal with usernames/passwords/secrets in the clipboard? Do you clean it up periodically?
In addition to what is shown here, I added a job that runs every 5 minutes which prunes the history so that I can comfortably copy sensitive information as well.
Can show last N entries and has a search bar as well, so you can click type away and cycle through results with TAB. Supports pinning as well.
Selection bias aside, Linux clipboards with history have existed for close to two decades, possibly more.
jdmg94•5mo ago
k_roy•5mo ago
Switching between macOS for job and linux for everything else, I’ve honestly never realized any difference.
yjftsjthsd-h•5mo ago
k_roy•5mo ago
esafak•5mo ago
opan•5mo ago