Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • 9
    @spiil I tried this solution and it achieves the effect you want. I middle-clicked in a text field and nothing happens, but middle-clicking on a link and middle-clicking to close a tab work in Chromium, Firefox, and Waterfox (the three browsers I tested). Commented Jan 7, 2019 at 21:53
  • 14
    Scrolling by click-and-hold middle button no longer works with this solution :/ Commented Mar 10, 2019 at 3:36
  • 3
    In order to get this to work I had to remove "+ Release". So if people are having trouble with the above solution give that a try. (And maybe this can be added to the answer). Commented May 17, 2019 at 13:00
  • 1
    Wouldn't that have the side effect of also killing every running process of yours with "xbindkeys" in the name? Might seem kind of far fetched for there to be any such process running other than the one you want to kill, but what if you have an xbindkeys-related script (perhaps even this one) where you put that in the name? I wonder if using a systemd service file and systemctl --user stop instead would be efficient. Commented Oct 26, 2019 at 22:10
  • 3
    nowadays I use github.com/milaq/XMousePasteBlock, which appears to use the same basic technique as this, but packaged nicely. Commented May 31, 2020 at 2:02