Disable Middle Mouse Button Paste

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
okie2003
Posts: 14
Joined: 2023-06-13 02:53
Has thanked: 7 times

Disable Middle Mouse Button Paste

#1 Post by okie2003 »

I have recently discovered random text in my LibreOffice Writer. I have discovered it is pasting when I scroll. Many people find this great, but I would like to disable it. I have tried disabling it in Settings and in LibreOffice but to no avail. I am running Debian Linux 12, KDE Plasma 5.27.5, Graphics Platform X11 (NVIDIA), Kernel 6.1.0-21.

User avatar
sunrat
Site admin
Site admin
Posts: 7450
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 134 times
Been thanked: 664 times

Re: Disable Middle Mouse Button Paste

#2 Post by sunrat »

From Arch wiki - Disabling middle-click paste

It suggests the Options setting in LO should work, but you say it doesn't for you. There are 2 other system-wide methods offered.

I find this function really useful. Can you just use less pressure when scrolling so not to activate the click?

Good news for the future, in Plasma 6 the option to disable middle-click paste will be in KDE System Settings.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: Disable Middle Mouse Button Paste

#3 Post by fabien »

okie2003 wrote: 2024-10-05 22:33 I have discovered it is pasting when I scroll. Many people find this great, but I would like to disable it.
Or just find a mouse with a firm middle button. It has become quite rare unfortunately. I use it absolutely all the time (including in LibreOffice), but manufacturers don't care because it's a Linux feature.
https://en.wikipedia.org/wiki/Mouse_button wrote:In Linux, [...] middle-clicking into a text area pastes the clipboard at the mouse cursor's location (not the blinking cursor's existing location).
Windows only uses it to
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

okie2003
Posts: 14
Joined: 2023-06-13 02:53
Has thanked: 7 times

Re: Disable Middle Mouse Button Paste

#4 Post by okie2003 »

Thanks for your input. I'll try being less aggressive when scrolling

Post Reply