Great work! does the CLI support clipboard operations like MacOS' `pbcopy` and `pbpaste` ? I've added it to my stars to keep and eye on the project, GTK4 and wayland support makes it rather futureproof IMO
For Wayland I just use this: alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output' I used to do the same thing on Xorg with xclip I think Switching between macOS for job and linux for everything else, I’ve honestly never realized any difference.
Show HN: Clyp – Clipboard Manager for Linux
41–50 of 51 posts
Re: Show HN: Clyp – Clipboard Manager for Linux
#42Earlier quoted context omitted.
I looked at mine, and it only has entries from my current login session.
That, and it only has about 10 of them. But anyway, if someone can access your clipboard manager then that's not very good...
Re: Show HN: Clyp – Clipboard Manager for Linux
#43I use CopyQ. Love it because it's so cross-platform, and consistently works across my Mac and Linux machines with minimal fuss; it handles images really well too.
Re: Show HN: Clyp – Clipboard Manager for Linux
#44Earlier quoted context omitted.
It's almost as if a Wayland compositor should keep a list of trusted apps to broadcast clipboard events to, somehow similar to how screenshots are handled. (Not that Wayland is well-rounded in this regard.)
The ext_data_control_v1 protocol I mentioned is a protocol specifically for clipboard managers. So a client that wants to be a clipboard manager would implement that protocol. There are already implementations of it like wl-clipboard. There is no need for the compositor to broadcast regular clipboard events (wl_data_offer). Now the compositor could certainly keep an additional list of trusted applications that are al…
Re: Show HN: Clyp – Clipboard Manager for Linux
#45One thing that I love about Windows (and there aren't many others) is that pressing Super+V (instead of Ctrl+V) shows a list of last N clipboard entries and you can select which one you wish to paste. Simple and very effective. 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?
Re: Show HN: Clyp – Clipboard Manager for Linux
#46Earlier quoted context omitted.
For Wayland I just use this: alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output' I used to do the same thing on Xorg with xclip I think Switching between macOS for job and linux for everything else, I’ve honestly never realized any difference.
I'm confused; xsel, as you might imagine from the name, is very specifically a program for manipulating the X11 selection and clipboard. So it does work on Xorg, but I'm very confused that it would work in any meaningful capacity on Wayland. Are you somehow using Xwayland?
Re: Show HN: Clyp – Clipboard Manager for Linux
#47Earlier quoted context omitted.
The ext_data_control_v1 protocol I mentioned is a protocol specifically for clipboard managers. So a client that wants to be a clipboard manager would implement that protocol. There are already implementations of it like wl-clipboard. There is no need for the compositor to broadcast regular clipboard events (wl_data_offer). Now the compositor could certainly keep an additional list of trusted applications that are al…
Hyprland has sort of permission handling https://wiki.hypr.land/Configuring/Permissions/ But yeah there isn't really a "standard wayland ecosystem way"
Re: Show HN: Clyp – Clipboard Manager for Linux
#48One thing that I love about Windows (and there aren't many others) is that pressing Super+V (instead of Ctrl+V) shows a list of last N clipboard entries and you can select which one you wish to paste. Simple and very effective. 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?
Selection bias aside, Linux clipboards with history have existed for close to two decades, possibly more.
Re: Show HN: Clyp – Clipboard Manager for Linux
#49Earlier quoted context omitted.
Hyprland has sort of permission handling https://wiki.hypr.land/Configuring/Permissions/ But yeah there isn't really a "standard wayland ecosystem way"
I see the prompt-less permission config is based on the executable path. How does it get the executable path for the client? And is it robust against me spinning up a mount namespace with an arbitrary /usr/bin/grim that I control?
Re: Show HN: Clyp – Clipboard Manager for Linux
#50One thing that I love about Windows (and there aren't many others) is that pressing Super+V (instead of Ctrl+V) shows a list of last N clipboard entries and you can select which one you wish to paste. Simple and very effective. 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?
I’ve used ditto for this since before windows gained this capability. It also has an ignore list (e.g. keepass lives there) and a few other niceties which make it one of the first tools I install on a windows box (not very often anymore, granted).