Multi-gesture touchpad function?

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
kharrisma
Level 1
Level 1
Posts: 46
Joined: Fri Dec 15, 2017 6:35 pm
Location: New Hampshire, USA

Multi-gesture touchpad function?

Post by kharrisma »

Hi Forum Folke,

Currently, my touchpad drivers are libspandsp2 (0.0.6+dsfg-2) and xserver-xorg-input-libinput (0.29.0-1). The touchpad supports basic touchpad functions, plus two-finger scroll (vertical and horizontal.) However, other functions such as three-finger gestures and especially pinch-zoom are absent.

I don't suppose that enabling these features is as simple as installing xserver-xorg-input-mtrack or xserver-xorg-input-multitouch and removing the ones installed now? I can see a lot of questions posted about multi-gesture (particularly pinch-zoom), but there seems to be no clear answer so far, that I can find, anyway.

Has anyone been able to get the pinch-zoom feature working?

Thanks in advance!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
7rocks
Level 1
Level 1
Posts: 23
Joined: Fri Mar 30, 2018 5:13 am
Contact:

Re: Multi-gesture touchpad function?

Post by 7rocks »

I too am looking for a possible fix for the pinch zoom I am using a Toshiba Dynabook Protege X30L-J loaded with Ulyssa 20.1. Pinch zoom works fantastically on the touch screen in Brave web browser, but not on the touch pad.

However the things that do work on the touch pad are:
inertia scrolling;
two finger scrolling in all directions;
two finger tap for right click.

Fantastic job Linux Mint dev team! Keep it coming.

Pinch rotate would be deluxe if possible, but one thing a time.
---------------
Dion
User avatar
rossdv8
Level 7
Level 7
Posts: 1736
Joined: Wed Apr 23, 2014 4:48 am
Location: Within 2,000 kilometres of Alice Springs, Australia
Contact:

Re: Multi-gesture touchpad function?

Post by rossdv8 »

Pinch to zoom etc were working by default when I installed Mint 20.1 on my Lenovo Yoda S1 a few weeks ago.
I'll have to check to see if it works on my Logitech K400. I can;t remember, but I think it did.
Current main OS: MInt 21.3 with KDE Plasma 5.27 (using Compiz as WM) - Kernel: 6.5.0-15 on Lenovo m900 Tiny, i5-6400T (intel HD 530 graphics) 16GB RAM.
Sharks usually only attack you if you are wet
User avatar
7rocks
Level 1
Level 1
Posts: 23
Joined: Fri Mar 30, 2018 5:13 am
Contact:

Re: Multi-gesture touchpad function?

Post by 7rocks »

I just found this solution by 'Bad Penguin' here:
https://www.youtube.com/watch?v=PZnhBwbwva4
Thing is the zoom is like pressing CTRL++ or CTRL-- rather than a smooth zoom. A good in-between solution for now.

However the procedures changed a bit because one of the tools has been updated.
Thus the new step by step method is here:

🅰️ [Update] Install LIBINPUT-GESTURES for Debian/Ubuntu/Linux Mint 19 also work
📜️ You must:
- be a member of the input group to have permission to read the touchpad device
- install Gestures (Touchpad Tool)
- install libinput-tools
Step 1️ Just copy and past this command in terminal (One line per time)
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
sudo gpasswd -a $USER input
sudo apt install python3 python3-setuptools xdotool python3-gi libinput-tools python-gobject
sudo apt-get install libinput-tools
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚠️ You have to restart your computer ⚠️
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Step 2️ Download and intsall LIBINPUT-GESTURES
🔗 Link download: https://github.com/bulletmark/libinput-gestures
💿 cd libinput-gestures-master ( sudo make install )
Step 3️ Configuration (Auto start)
Just copy and past this command in terminal
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
libinput-gestures-setup autostart
libinput-gestures-setup start
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Step 4 Download and install gestures
🔗 Link download: https://gitlab.com/cunidev/gestures

This bit is different here from the YouTube instructions I think
because the project had been upgraded since.

git clone https://gitlab.com/cunidev/gestures
cd gestures
meson build --prefix=/usr
ninja -C build
sudo ninja -C build install

Step 5 Download 'Bad Penguins' touchpad configuration file to support 2,3 and 4 fingers touch gestures (You can edit it later)
🔗 Download my configuration file: https://www.dropbox.com/s/q2p338tgsugny ... .conf?dl=0
➡️ And past it in /home/user name/.config/libinput-gestures.conf
⚠️It's done and you may need to restart your computer again ⚠️
---------------
Dion
User avatar
rossdv8
Level 7
Level 7
Posts: 1736
Joined: Wed Apr 23, 2014 4:48 am
Location: Within 2,000 kilometres of Alice Springs, Australia
Contact:

Re: Multi-gesture touchpad function?

Post by rossdv8 »

I just booted my Lenovo Yoda S1 with the stuffed keyboard and trackpad, running Mint 20.1, to check what I suggested in my previous post.

NOTE:
I have NOT installed the extra driver stuff mentioned above, so the install is stock Mint 20 plus upgrade to 20.1

Pinch to Zoom does NOT work on the Touch Screen.

However Pinch to Zoom DOES work on the Wireless Logitech K400 keyboard with built in Trackpad (on the right side).

There are no extra drivers for the Logitech keyboard, Mint 20 just detected it on install.
Pinch top Zoom was working on the built in Lenovo Trackpad when I first installed it, but I disabled that when it interfered with the Logitech (accidentally using the wrong one with both installed).
Last edited by rossdv8 on Tue Apr 13, 2021 7:22 pm, edited 1 time in total.
Current main OS: MInt 21.3 with KDE Plasma 5.27 (using Compiz as WM) - Kernel: 6.5.0-15 on Lenovo m900 Tiny, i5-6400T (intel HD 530 graphics) 16GB RAM.
Sharks usually only attack you if you are wet
User avatar
7rocks
Level 1
Level 1
Posts: 23
Joined: Fri Mar 30, 2018 5:13 am
Contact:

Re: Multi-gesture touchpad function?

Post by 7rocks »

O.K. thank you.
---------------
Dion
User avatar
KentC
Level 1
Level 1
Posts: 23
Joined: Wed Nov 12, 2014 12:13 am

Re: Multi-gesture touchpad function?

Post by KentC »

Hi,
I don't know if you have already found a solution to your problem, but I followed these instructions on an Ubuntu forum, and they worked very well for me:
https://askubuntu.com/questions/1034624 ... -18-04-lts
I am running LM 20.1 (Cinnamon), on a Star Labs, Star Lite netbook.
Morgan
Level 1
Level 1
Posts: 12
Joined: Sun Jan 09, 2022 8:22 am

Re: Multi-gesture touchpad function?

Post by Morgan »

Good one. It works very well.
At step 3:
7rocks wrote: Fri Apr 09, 2021 1:22 pm ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Step 2️ Download and intsall LIBINPUT-GESTURES
🔗 Link download: https://github.com/bulletmark/libinput-gestures
💿 cd libinput-gestures-master ( sudo make install )
It's also possible to install libinput-gestures like this:

Code: Select all

git clone https://github.com/bulletmark/libinput-gestures.git
cd libinput-gestures
sudo make install
sudo ./libinput-gestures-setup install
At step 5 I've downloaded your configuration file but it messed up my computer completely so I erased it and did it myself...
Locked

Return to “Hardware Support”