News for hackers. Stuff that matters.
Re:With Firefox on X11, any page can pastejack you anytime (... by snailmailman on Saturday October 21, 2023 @11:45AM (#37967743)
It annoys me so much. I’ve tried to disable but none of the methods I’ve seen have worked for me. I use middle click to autoscroll, and to open things in new tabs or to close tabs.

Then I try to middle click autoscroll in discord or something (which works in windows!) and I’ll paste in information that I don’t intend to.

This is the first I’m hearing about Wayland fixing this. Maybe I’ll give Wayland yet another try soon.

Re:With Firefox on X11, any page can pastejack you anytime (... by a1369209993 on Saturday October 21, 2023 @02:07PM (#37969159)
> I've tried to disable but none of the methods I’ve seen have worked

You can fix this in the latest working firefox version with `about:config > middlemouse.paste = false` (I found this by browsing through about:config, so I'm not sure if it's decumented anywhere), but I'm not sure if that still works in the enshittified versions.

(It doesn't prevent selected text from being middle-pasted into other applications, but all my other disrupted-by-paste applications explicitly don't support middle-click-to-paste (in several cases because I deliberately wrote them that way), so I haven't gotten around to fixing that part yet.)

Re:With Firefox on X11, any page can pastejack you anytime (... by snailmailman on Saturday October 21, 2023 @03:02PM (#37969588)
Yeah I’ve got it disabled in Firefox. And now that I’m looking into it more I’m seeing an option in VSCode, which is the other main place I keep pasting when trying to scroll.

But this “feature” is enabled globally across XServer and is so deeply engrained that there is no global off switch. I must find workarounds for every application in order to make my middle mouse click function as I would expect.

For an OS where everything else is so customizable this baffles me.

I so frequently encounter problems where I proofread something (or my compiler finds it for me) and I find weird words or sentence fragments that I inserted on accident while navigating a document.

Re:With Firefox on X11, any page can pastejack you anytime (... by suby on Saturday October 21, 2023 @06:45PM (#37971177)
Agreed, I had a hell of a time switching to Linux in part due to the difficulty in disabling this feature everywhere. I simply hate it and do not want it. It doesn't bother me if other people like it, it doesn't even bother me if it's on by default, but why is it nearly impossible to disable? It's baffling.

We're having a conversation in this thread about whether or not the feature is good, but it shouldn't matter. People who like the behavior and people who don't should be able to live side by side, without one affecting the other. The issue is that the feature should not be forced.