Remix.run Logo
lucumo 6 days ago

> Even today, you often see a "copy to clipboard" or something on a web page, and it never works on Linux. Not as I've got it configured, in any case.

That's weird. It's a pretty widely available Javascript API for years already. Nothing OS specific on the website's side. Are you running an ancient/fringe browser?

https://caniuse.com/mdn-api_clipboard_writetext

db48x 6 days ago | parent [-]

Sure, but the API is primitive and limited. The browser puts it in CLIPBOARD, but then the user pastes from PRIMARY and gets something they didn’t expect. And the author of the web page probably included some event handler(s) that breaks the selection, so that selecting text doesn’t copy to PRIMARY like it should either.

incompatible 6 days ago | parent [-]

I suppose something like that is going on. Perhaps if I use some kind of "clipboard app" I'll be able to recover it.

Edit: Hmm, got one already called clipman, and it can display the two types of selections, now just have to figure out how to use it.