This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-disable-middle-mouse-button-click-paste-on-ubuntu-20-04-focal-fossa-linux
I think this a nice utility. However it only seems to work with system applications like the terminal and Files. On applications I installed like VSCode and my web browser, the middle mouse button still pastes.
Found a solution to the VSCode issue on github, new user so cant post the link as a link …
“Please set “editor.selectionClipboard”: false in your user settings. This will make it so we don’t paste from the selection clipboard when you press the middle button and we don’t write to the selection clipboard when a selection is made in the editor.”