You are not logged in.
I'm running sway. Basically, I want highlighted text to be paste-able with ctr-v. The hint in the clipboard archwiki suggests you should run
wl-paste -pw wl-copy
As far as I understand, this should take what's currently in the PRIMARY buffer and copy it to the CLIPBOARD buffer, and it seems to work as expected with text.
However, when I copy an image from my browser (Firefox) using ctr-v, it copies raw HTML:
<meta http-equiv="content-type" content="text/html; charset=utf-8"><img src="https://blah.tld/slinky.svg" alt="slinky">
. When I copy from other buffers, it works as expected. If I kill the wl-paste command, it starts working as expected. Clearly I'm missing something here, but I'm not sure what.
Edit for clarity: image copy seems to work from other sources. Also, only ctr-v pastes HTML junk, middle mouse button works fine.
Last edited by ackthet (2024-02-04 23:31:43)
Offline
Do you have 'xdg-utils'/'mailcap' installed?
Last edited by dogknowsnx (2024-02-03 18:38:19)
Do you have 'xdg-utils'/'mailcap' installed?
I do.
Offline
Do you use a clipboard manager?
Maybe this can shed some light on the issue:
https://github.com/sentriz/cliphist/issues/28
https://github.com/bugaevc/wl-clipboard/issues/120
Do you use a clipboard manager?
Maybe this can shed some light on the issue:
https://github.com/sentriz/cliphist/issues/28
https://github.com/bugaevc/wl-clipboard/issues/120
I do (clilphist) but disabling it doesn't stop the issue. So I don't think that's it.
I have noticed something else: middle mouse click pastes the image properly. It's just ctr-v that doesn't work. I'll update OP to reflect.
Offline