Paste on MMB using multi-touch gestures

Forum rules
Before you post please read how to get help
Post Reply
staseg
Level 1
Level 1
Posts: 2
Joined: Wed May 09, 2018 11:30 am
Location: Odessa, Ukraine
Contact:

Paste on MMB using multi-touch gestures

Post by staseg » Wed May 09, 2018 11:54 am

Hi, guys!
I am using Linux Mint 18.3 KDE for more than month on my desktop and a week on laptop, and I am almost fully satisfied.
I faced some problems on laptop (Dell XPS 15 9550).
I see no way to disable Paste on MMB click. I have seen a topic in forum, but I see no answer.
It is really useful feature, but on my laptop I use libinput-gextures (multi-touch gestures for linux), and 3-point gestures (I used them to switch desktop) are also recognized as paste.
For example, I am looking some info in browser, then I switch to desktop with Qt and my copy buffer pastes some mess in my code.

Reviewing forums, I noticed, that it is a feature of X11, and it is impossible to turn it of, using config, it is hardcoded.
So:
Can somebody fix it?
How to fix it in X11 code?
3d graphics developer

User avatar
catweazel
Level 17
Level 17
Posts: 7741
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Paste on MMB using multi-touch gestures

Post by catweazel » Thu May 10, 2018 1:58 am

staseg wrote:
Wed May 09, 2018 11:54 am
I am using Linux Mint 18.3 KDE for more than month on my desktop and a week on laptop, and I am almost fully satisfied.
...
How to fix it in X11 code?
This has nothing to do with KDE. The X standard states that the middle mouse button executes a paste action, so this action applies to all OSen using X.

https://wiki.ubuntu.com/X/Config/Input# ... el%20mouse

I think that the best you can do is try to remap the button. See the section titled "Example: Disabling middle-mouse button paste on a scrollwheel mouse".
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

staseg
Level 1
Level 1
Posts: 2
Joined: Wed May 09, 2018 11:30 am
Location: Odessa, Ukraine
Contact:

Re: Paste on MMB using multi-touch gestures

Post by staseg » Thu May 10, 2018 3:04 am

Thank you, but the way, they go (remapping MMB) we disable MMB at all. For example, we can't open new tab in browser by MMB.
3d graphics developer

Hoser Rob
Level 12
Level 12
Posts: 4313
Joined: Sat Dec 15, 2012 8:57 am

Re: Paste on MMB using multi-touch gestures

Post by Hoser Rob » Thu May 10, 2018 7:32 am

staseg wrote:
Wed May 09, 2018 11:54 am
... Can somebody fix it?
How to fix it in X11 code?
You're going to have to convince the Xorg and/od KDE devs it's a bug at all. Good luck.

Post Reply

Return to “KDE”