Ask Your Question
1

Enable touchpad gestures

asked 2016-11-08 09:19:11 -0500

superVit gravatar image

updated 2016-11-09 00:45:44 -0500

florian gravatar image

Hi guis, i'm new to fedora world: this distribution is amazing! I've installed fedora 25 beta on a dell inspiron 13 7000, everything is ok but i can't use touchpad gestures like pinch-to-zoom or to change workspace. this is my xinput with xorg session:

  Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ DLL0675:00 06CB:75DB Touchpad             id=13   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen                          id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ Intel Virtual Button driver               id=12   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=14   [slave  keyboard (3)]
    ↳ DELL Wireless hotkeys                     id=16   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=17   [slave  keyboard (3)]

It seems that there are two touchpad recognized, it's very strange.

edit retag flag offensive close merge delete

Comments

Do they work under Wayland session? I'm not 100% sure, but I've heard that multi-touch gestures are only supported under Wayland.

HoboPrimate gravatar imageHoboPrimate ( 2016-11-08 13:00:00 -0500 )edit

they don't work with wayland too. I use xorg because i love to use redshift

superVit gravatar imagesuperVit ( 2016-11-09 09:41:26 -0500 )edit

Your touchpad is an i2c one, but because of how the kernel works you get the legacy ps/2 device too. it's just a cosmetic issue and you can ignore it, the "SynPS/2... " touchpad device will never send events.

whot gravatar imagewhot ( 2016-12-13 16:32:29 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-11-09 16:10:26 -0500

HoboPrimate gravatar image

updated 2016-11-09 16:12:41 -0500

A few debug commands I learned recently, when trying to find if my touchpad supported 4-finger swipping under Gnome Wayland, could get you started:

See if libinput recognizes those gestures. Do:

sudo libinput-debug-events

and see if pinching and swiping are recognized. If they are, it's a bug with Gnome/Wayland.

If they're not, let's see if evdev (part of the kernel) recognizes them:

To see your touchpad device:

sudo libinput-list-devices

and take note of your touchpad's device name (/dev/input/event**). Install package evemu, then do:

sudo evemu-record /dev/input/event** evemu-record.txt

using your touchpad device's name.

Do some gestures. Ctrl+C to stop, and open the file evemu-record.txt to see if it is recognized.

From this point, either it recognizes, and the bug is with libinput, or it isn't recognized and either your touchpad doesn't support them, or the kernel doesn't support your touchpad.

Caveat: Not a developer myself, so hopefully other people chime in.

edit flag offensive delete link more

Comments

so when I enter sudo libinput-debug-events and Pinch, it recognizes the gestures, but when I try to use them eg in Chrome or Firefox nothing happens... some suggestion?

philuz gravatar imagephiluz ( 2016-11-23 04:15:25 -0500 )edit

I'm not sure Firefox or Chrome supports the pinch gesture. A program that does is Gnome's image viewer, where pinch zooms the picture, and I believe evince (gnome's pdf viewer) does as well.

HoboPrimate gravatar imageHoboPrimate ( 2016-11-25 15:22:35 -0500 )edit

Actually I now have a weirrd behaviour, my "internal" Touchpad does pinch to zoom in some aplications, but then I have an "external" one on an Microsoft wireless Keyboard, which actually works with Chrome and Firefox

philuz gravatar imagephiluz ( 2016-12-13 05:46:33 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-08 09:19:11 -0500

Seen: 5,904 times

Last updated: Nov 09 '16