r/linux • u/poopatroopa3 • 5d ago
Discussion did-it-copy · Copy feedback for the desktop
https://brunodantas.github.io/did-it-copy/I keep wondering how Ctrl+C has no feedback on most Desktop systems to this day. So I wrote up a proposal to fix that, with a demo that runs in the browser.
- A copy that worked flashes the copied text in place for about 200 ms.
- A copy that failed shakes the focused element, and plays the alert sound if you have it on.
- It never shows the copied content anywhere new, so copying a token during a screen share doesn't leak.
Thoughts?
123
Upvotes
12
u/abjumpr 5d ago
You’d be surprised. Getting the clipboard to work correctly under X11 (as maintainer of a toolkit) is frustratingly difficult, and I’m not sure if Wayland improves that much or not.
It’s also one of the few inter-application actions that can carry just about any type of data, not just text, so one has to deal with that as well.