I just want to disable MMB from pasting and copying. I have been able to fix it in Firefox only. Programs like discord, steam, and the terminal all dont have a way to fix this issue.
I’ve scoured through all of the settings. I’ve read tons of articles and watched a couple YouTube videos. Does anyone have a simple solution to fix this? I was hoping for one that doesnt bloat the my PC anymore, but if its the only way I guess it will have to do.
If you use X then this should work, I’m not sure it’ll work on Wayland.
However middle click paste is a very useful feature, I advise you to get used to it. I didn’t like it at first either, but now I use it all the time.
The option to disable middle-click paste is in the General Behavior section of Plasma’s System Settings:
A restart is required for the change to take effect.
For some reason I do not get that option.
I am on version 6.3.4 on KDE Plasma, maybe its an option that was moved more recently?
once we get used to this mouse setting function, we start to wonder why it’s not adopted by other OSes. *just my opinion. This is not to deny the habits and habits that each person has.
For Cinnamon, middle click settings.
cinnamon-settings > mouth
(or $ cinnamon-settings) in terminal.
You can adjust it as shown in the image below.
The middle-click paste option is definitely available on Plasma Wayland 6.3.4, which is what I am using. You have not provided any information confirming your Plasma session type (Wayland or X11). Plasma’s available options are different for each session type. Please provide the output of the following command:
echo $XDG_SESSION_TYPE
Same here - I have it on Wayland.
So am I.
Operating System: Manjaro Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-1-MANJARO (64-bit)
and it’s definitely there on mine, and enabled, and never to be disabled. I don’t like the windows copy/paste dance, it wastes my time…
I’m not really accustomed to it myself - not when we have mousewheel to scroll, PgUp/PgDn keys, Home/End keys…
Middle-Click paste is, for many, one of those ‘OMG this is amazing!’ moments when jumping onto a Linux desktop.
echo $XDG_SESSION_TYPE
returns “x11”
The only reason I don’t like MMB paste is because I use it to scroll more frequently than just scrolling the mouse wheel. So right now I end up pasting whatever is in my clipboard into chats on accident.
Is there any specific reason why you are not using Wayland for Plasma? It has been a year since KDE implemented its decision to make Wayland the default session type for Plasma 6.
You can change your session type via the login screen (where you enter your password) - the session type menu is usually at the bottom of the screen. If you log in automatically without a password, then the session type can be changed by opening:
System Settings → Login Screen (SDDM) → Behavior → Automatically log in as user with session Plasma (Wayland):
KCM Behavior: in Wayland allow to disable primary selection
Méven Car 2 years ago
Well the situation here between X and wayland are a bit different.
In Wayland, the user can’t do anything about the feature, KWin is responsible for the behavior and it can’t be circumvented.
In X11 the user has a number of options to obtain the same result, since they have direct access to the graphical server.
I don’t want to devote time to implement this in X11, it is going to take me far longer than what it took for the Wayland case. Users have already available workarounds.
That is was what was causing the issue, I was unaware that I wasn’t in Plasma. But after changing the setting it added the option to turn off paste with MMB. Thank you Scotty.
Is the only way to set the default session type to Wayland with automatic log in?
No. Whatever you choose at the bottom of the SDDM login screen should stay that way for future logins.
You can check your session type at any time by running the echo $XDG_SESSION_TYPE
command.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.