middle_click_paste = false does nothing
#10713
-
|
I tried setting |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
|
You apparently need to disable it in all your apps as well. For example, I was getting annoyed that this was happening in Firefox on Gnome, despite disabling middle click paste on Gnome Tweaks. Turns out Firefox has its own middle click paste function that I had to hack around and disable as well. |
Beta Was this translation helpful? Give feedback.
-
|
I tested with featherpad on arch from the extra repo and can't reproduce the issue |
Beta Was this translation helpful? Give feedback.
-
|
Try using Also, make sure to disable middle click paste in any apps that have the config! I believe both Kitty and FIrefox have it. |
Beta Was this translation helpful? Give feedback.
-
|
The problem is that a lot of apps seem to be developed by **** who think it's a good idea to implement a built in clipboard separate from the os clipboard, ranging from ui toolkits like gtk and qt, to indeed browsers like chromium which seems to be finally going to actually address this soon For qt apps the only way to disable this retarded functionality is in KDE, it cannot be done anywhere else, i'm not sure how kde does it and why it's impossible to do anywhere else but it's a clear lack of competence from qt devs to engineer such a situation. Which leaves gnome, which has an actual setting.
The only 100% reliable solution is to set The only downside is that it will break text selection in many GTK apps (yes, they are incompetent too, they tied text selection to the primary clipboard so clearing it deselects text...), there's a workaround for it available here if this is a problem for you: https://unix.stackexchange.com/a/472464/72554 basically you just create a script with blacklisted apps and then only clear the primary clipboard for apps that aren't on that blacklist. |
Beta Was this translation helpful? Give feedback.
The problem is that a lot of apps seem to be developed by **** who think it's a good idea to implement a built in clipboard separate from the os clipboard, ranging from ui toolkits like gtk and qt, to indeed browsers like chromium which seems to be finally going to actually address this soon
For qt apps the only way to disable this retarded functionality is in KDE, it cannot be done anywhere else, i'm not sure how kde does it and why it's impossible to do anywhere else but it's a clear lack of competence from qt devs to engineer such a situation.
Which leaves gnome, which has an actual setting.
gsettings set org.gnome.desktop.interface gtk-enable-primary-paste falseThe only 100% reliable…