- Arch Linux
- KDE Plasma 6.1.5 (Wayland)
- open the KDE system settings
- select "Workspace" -> "General Behavior"
- uncheck "Middle Click: Paste selected text"
- Restart the system
(e.g. Discord, etc.)
1. Install XMousePasteBlock
$ yay -S XMousePasteBlockPerhaps you should choose xmousepasteblock-git. (I failed to build with the xmousepasteblock one)
2. Registering a service in systemd
Create mousepasteblock.service in /etc/systemd/system.
[Unit]
Description=Userspace tool to disable middle mouse button paste in Xorg.
[Service]
ExecStart=/usr/bin/xmousepasteblock
[Install]
WantedBy=multi-user.target3. Reboot the system
Set middlemouse.paste to false in about:config.
How to enable middle-click scrolling.
Open Firefox Settings and search for "Scroll", Enable "Use autoscrolling".
Add --enable-blink-features=MiddleClickAutoscroll to the startup argument.
Some sentences may be incorrect because they were translated from Japanese using deepl translation.
@poyotanp I've been going insane trying to fix this, thank you!