Remix.run Logo
incompatible 6 days ago

I don't even like the solution. "Buy a new programmable keyboard." The keyboard I've got generally works fine. It's not programmable as far as I know, but who knows for sure.

The clipboard has always been annoying. 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.

lucumo 6 days ago | parent | next [-]

> 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.

account42 6 days ago | parent | prev [-]

With X11 you don't even need a programmable keyboard for this, just make your own xkb layout. These support multiple layers just fine.