On Linux, Control-C and Control-V don't work for copying and pasting in terminals. The Control modifier is used for its original purpose of inserting control codes. Instead, terminal apps require an extra Shift modifier, like Control+Shift+C.
But what if there were hidden shortcut combos for copy and paste
That’s a popular terminal feature, but I regularly get tripped up because my terminal has that behavior but my browser does not.
That’s what’s nice about a global solution.
in most systems this is global. it’s provided by the desktop and programs just see a copy/paste event. are you on wayland by any chance?
Yes.
yeah that’d do it. on X11 this is a solved problem, but wayland delegates the responsibility to the wm, and i don’t think anyone other than gnome has actually implemented it. another one of the paper cuts that makes it hard for me to make the switch.
I’m on Sway and I use the mouse copy and paste all day everyday.
Switch to a non-buggy browser.
There’s only two. One has broken primary selection, the other has anti-user policies against adblock plugins.
I can live without copy on highlight. But you could pry UBlock Origin from my cold, dead hands.
uBlock Origin and mouse copy and paste works perfectly well in Firefox.
Copy on select and middle mouse button paste doesn’t work in text fields created by js code in Firefox. I remember finding a stale bug report for it,
but can’t find it.There are a lot of websites that use javascript to create text fields, some recent examples that I can remember right now:
Edit: found report: https://github.com/codemirror/codemirror5/issues/931
https://bugzilla.mozilla.org/show_bug.cgi?id=1593761