How do I disable 3+ finger gestures?
I don’t normally use my touchpad so I had no idea this was a thing until recently while travelling. The way I use the touchpad is completely not compatible with 3+ finger gestures. I try to two-finger scroll with my finger on the left click and it keeps switching desktops.
I know it’s a new feature and the config is still being worked on (last I saw), but why release an input function that’s not configurable or at least able to be disabled?
In System Settings → Input Devices → Touchpad - IIRC
3 finger gestures? As in swipe with 3 fingers down/up to get a new virtual desktop?
Not there for me:
Is it not available in the LTS kernel?
OS: Manjaro Linux x86_64
Host: 20NF0012US ThinkPad E595
Shell: zsh 5.9
DE: Plasma 5.27.7 (Wayland)
CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8) @ 2.100GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
just installed 6.5.1-1-MANJARO and no joy in the touchpad settings, it’s the same options as in the picture
edit: I just looked like an hour ago and I don’t see any bug reports for this in bugs.kde.com, I haven’t checked manjaro’s bug reporting system but I don’t imagine that it would last long there as this is more of an upstream issue
The kernel has nothing to do with plasma settings.
The desktop switching is using a two-finger gesture - no mouse click - not three fingers.
This is comparable to the wheel on a regular mouse.
it is very clearly not using two finger for this… I scroll in browsers/apps all the time just fine with two fingers.
As soon as I put a third finger on the touchpad and swipe up or down it scrolls my virtual desktops. It’s these third finger (and fourth finger) gestures I don’t want.
Context: I keep a finger on the touchpad to click the left mouse button while I’m scrolling on sites with two fingers elsewhere swiping. The top of where the left click is, is an active zone (a little like a mac), so kwin is seeing it as a three finger gesture.
I don’t want that gesture or the back and forward from four finger gestures.
I have seen somthing similar on my pinebook - I cannot test it right now - as it is - currently - in a non working statie.
I think it has to do with the mouse cursor moving outside the browser window which will then trigger a desktop scroll.
To test this - the default layout places the desktops vertically - so either place them horizontally or remove the extra desktop - this will likely remove what you see as an undesired behavioir.
This will scroll my virtual desktops with nothing running, no browsers, fresh from a reboot.
I did just try it horizontally and 3 fingers (up and down) still scrolls through the virtual desktops, but two fingers does not.
Also, when a browser gets the the bottom of the page two finger scrolling stopsand won’t allow further scrolling.
I don’t know what triggers what - it could be driver - libinput is default - so perhaps you can change the behavior by using xf86-input-synaptics.
What I can see is that if have an empty desktop - it will scroll the desktop - if you have an open app e.g. firefox and the cursor is inside firefox window the action is executed on the window - if the cursor is on window edge - like it will be if you have cursor at the scrollbar - it may perhaps just for a small amount of time be outside the window - thus triggering an annoying desktop scroll - I have learned that the hard way - I don’t find it to be a bug as such - a mere annoyance - yes - which I can fix by making sure the mouse is inside the window I want to scroll.
While playing with this I discovered plasma has a 4 finger tap then move up … on a desktop will open a desktop switcher
Four fingers move down - window search …
So it appears that the plasma devs have something hardcoded into the window manager or plasma itself but I am thinking kwin.
Ok, thanks for helping, but I need to say. This has nothing to do with 2 finger scrolling (like a scroll wheel). I don’t have any problems doing that at all. It works exactly like I expect.
The issue is where the physical left and right buttons for the touchpad are also an active mousing area. They are hidden under it. So, having a finger there chilling to click something while I scroll tells kwin that I’m trying to do a 3 finger gesture. This may not be a new feature to kwin, but it’s new to me as I almost never use the trackpad. I hate this and I don’t see any way to just disable 3 finger gestures in any settings.
I know it’s 3 finger scrolling because when I don’t hold my finger on the trackpad to click the left mouse button (using 2 fingers) scrolling works fine. The main issue is that I’ve been mousing like this on a trackpad for literal decades before trackpads had hidden buttons below the active mousing area.
Another datapoint to prove that this is only 3 fingers is that it works in the reverse direction as my scrolling. I normally like the old school way of scrolling. Swipe with 2 fingers down it makes the text go up. This is how I have it set in the system settings. When I do a 3 finger swipe down on the top/leftside/desktop1, it does nothing. But when I do a 3 finger swipe up while I’m on top/leftside/desktop1, it will switch desktops to bottom/right/desktop2. So, the literal opposite I expect and hate.
If I do the same swipe up/down while using 2 finger scrolling, I cannot, whatsoever, change desktops. It will only scroll as I expect.
just saw your edit…
grr, wwwwwhhhhhy are they adding hardcoded input features without a way to configure them, or even just disable them?
If you are using libinput then less options are exposed in the GUI.
I cant recall the settings for it at the moment.
There is the package
libinput-gestures … do you have that installed?
But yes you will get different (and more) options if you install
(when installed synaptics will take precedence unless a config file dictates otherwise)
libinput-gestures i already have (from extra, not the AUR package)
Do I need to use xorg to use this? Because I have wayland and need wayland for multi-monitor support that isn’t stuck in 30Hz.
I’m pretty sure it works regardless.
But still I say you should check if you have
I dont think libinput has 3-finger gestures on its own.
You may be able to configure it or simply remove that package rather than replacing libinput.
libinput_gestures_qt package from AUR:
got this working but there’s no way to set any gesture as “do nothing” or an equivalent.
also, it’s setup but not working, not doing any of the things I’m putting in for actions (yes I’m restarting the application). it’s still only changing desktops on 3 finger swipe
[pixelnull@laptop ~]$ libinput-gestures-setup
libinput-gestures is installed.
libinput-gestures is set up as a desktop application.
libinput-gestures is currently running as a desktop application.
libinput-gestures is set to autostart as a desktop application.
libinput-gestures is using custom configuration file.
None of ^this^ works
libinput config looks like it was edited fine by libinput_gestures_qt:
#This default settings for KDE Plasma generated by libinput-gestures-qt
#Browser actions Back and Forward
#Next virtual desktop
#Previous virtual desktop
gesture swipe up 3 qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Show Desktop"
gesture swipe down 3 qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Expose"
edit: I’ve made an issue on github for this maybe somebody more familiar with this can help
Do you installed
wmctrl? You need this if you use Wayland.
Simply curious: Do you experience the same issue when using X11?
No x11 does not recognize gestures in libinput-gestures at all.
Checked via libinput-gestures -r and -d
I will say that I haven’t used x11 in a long time, not that it matters