Middle-click scrolling without middle-click paste in TiddlyDesktop (Linux)

I am looking to transition from a Firefox-based SSB using webapp-manager, to TiddlyDesktop for performance reasons. It might be because webapp-manager forces Firefox in Strict security mode which I think hampers visual performance in general - but it is quite stark.

The problem is that I heavily rely on autoscroll.
Autoscroll is where you press the middle mouse button and can scroll up and down the page. This has historically been difficult to support on Linux, until the arrival of Wayland - meaning we no longer need to support the archaic primary clipboard of X.

Chromium-based browsers, like TiddlyDesktop, support autoscrolling with the command-line flag --enable-blink-features=MiddleClickAutoscroll. Chromium will normally show a warning every launch when one of these flags is enabled but TiddlyDesktop wisely suppresses the warning. So far, so good.

Unfortunately, TiddlyDesktop’s nw binary is based on X. So middle-clicking triggers a paste action from the clipboard. I need to stop this behaviour from happening.

Possible solutions I have considered:

  1. Is there a way to disable this for this program only? I use KDE by the way. I don’t want to disable the middle mouse button altogether in other X programs.
  2. Is there a Wayland distribution available (without using NixOS)?

If not, I am happy to accept any workaround and even compilation instructions if necessary, though I would prefer to avoid that.

I would strongly prefer to run TW in TiddlyDesktop instead of Chromium proper, to compartmentalise it from the rest of the web.

Wow, I love the feature of middle-click to paste and specifically edit my TiddlyWiki on my desktop computer that runs Linux Mint 21 for this feature. It gives me another dimension for pasting messages. Sometimes I don’t want to put a copied message in the clipboard manager list. (I use Diodon.) It feels easy to just highlight some text and then go to another interface text field and middle-click to paste. It saves stress on my wrist, especially compared to highlighting some text from one text field and dragging that text to another, which is another way to copy without using the clipboard manager.

But really, what I want is better keyboard shortcut navigation in TiddlyWiki.

I mostly read rather than write in my own TiddlyWiki. That also goes for the web at large. So I am used to autoscrolling - which is especially useful when I have many tiddlers open - and I do most of the time. I don’t have any wrist problems and rarely copy texts. So it really depends on how you use it.

You

By default, TiddlyWiki doesn’t know what tiddler you are focused on. There are a number of plugins that offer this functionality, though.

I found TiddlyFlex executes this very well, if you are open to its style of layout.