lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

Two-finger gestures not recognized #164

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have the problem that my two finger gestures are not recognized by touchegg. 
Two finger scrolling works and a tap with two fingers emulate a right mouse 
click, but this is not done with touchegg. It seems that touchegg doesn't 
receive the gestures because the system uses them.

Something similar is happenning with unity. In another window manager touchegg 
receives 3 and 4 finger gestures, but if unity is started it doesn't show them. 
Though Unity's gestures are working.

I am running Ubuntu 12.04.

'geistest' shows this:

Device 44768 added
    attr "device name" = "ETPS/2 Elantech Touchpad"
    attr "device id" = 44768
    attr "device touches" = 5
    attr "direct touch" = false
    attr "independent touch" = false
    attr "device X minimum" = 0.000000
    attr "device X maximum" = 3260.000000
    attr "device X resolution" = 32000.000000
    attr "device Y minimum" = 0.000000
    attr "device Y maximum" = 2119.000000
    attr "device Y resolution" = 32000.000000
error subscribing to gestures
error subscribing window 0x000000aa

I attached the xorg configuraration file. I tried replacing Driver "synaptics" 
with "evdev", but after a reboot my pointer didn't move at all.

Original issue reported on code.google.com by topeter...@gmail.com on 23 Aug 2012 at 11:10

Attachments:

GoogleCodeExporter commented 8 years ago
Hi! In Precise the uTouch stack is out of X11, for this reason, you can do 2 
fingers scroll/click, but no use the multitouch gestures. You can do 1 of this 
options at the same time.

In your trackpad configuration, try to dissable all reates options with 2 
fingers and restart touchegg

Original comment by jose.exposito89@gmail.com on 23 Aug 2012 at 12:21

GoogleCodeExporter commented 8 years ago
Hi and thanks for your quick reply. I followed your suggestion and disabled 
everything that has to do with multitouch in the trackpad configuration at the 
gnome-control-center. Since that didn't helped I switched to fluxbox fooled 
around with the xinput settings. 

I listed my settings with xinput list-props <device-id> and tried changing some 
values. After those commands:
xinput set-prop 12 Synaptics Click Action 1 0 0
xinput set-prop 12 Synaptics Tap Action 0 0 0 0 0 0 0
xinput set-prop 12 Synaptics Two-Finger Scrolling 0 0

touchegg finally received my two-finger gestures. Unfortunately, after I 
switched back to unity and entered the same commands, touchegg didn't receive 
anything. I compared the output of xinput list-props under unity and fluxbox 
with 'diff' and they are exactly the same, so it seems that there is something 
else in unity that blocks those gestures.

I added the output of xinput list-props <device-id> which worked under fluxbox.

Original comment by topeter...@gmail.com on 23 Aug 2012 at 1:44

Attachments:

GoogleCodeExporter commented 8 years ago
Hi! Check this email of the uTouch mailing list please
https://lists.launchpad.net/multi-touch-dev/msg00955.html
https://wiki.ubuntu.com/Multitouch/TouchpadSupport

In theory, in Unity you only need to use the System Settings to active the 2 
fingers gestures, but remember that you can not use 3 and 4 touches gestures in 
Unity

I haven't test it, but this can help you to save your changes after reboot
https://lists.launchpad.net/multi-touch-dev/msg00958.html

Original comment by jose.exposito89@gmail.com on 24 Aug 2012 at 6:04

GoogleCodeExporter commented 8 years ago
I tried the settings suggested in the wiki, but with no success. Additionally, 
I tried out "0" and "1" as the value for "Synaptics ClickPad". 

I have a ClickPad and tried this today on another Ultrabook which also has a 
ClickPad, but there it isn't working either in unity. I'm going to try it out 
on a fresh ubuntu install in the next days.

Original comment by topeter...@gmail.com on 25 Aug 2012 at 10:24

GoogleCodeExporter commented 8 years ago
If you can use synclient to configure Touchpad Synaptics, try this commands:
synclient TapButton2=0
synclient TapButton3=0
synclient ClickFinger2=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0

After this, I could enable 2 and 3 fingers gestures in Touchegg

Original comment by vinicius...@gmail.com on 5 Oct 2012 at 12:14

GoogleCodeExporter commented 8 years ago
After those commands gestures with up to five fingers were recognized in 
fluxbox, but nothing in unity.

Original comment by topeter...@gmail.com on 5 Oct 2012 at 9:33

GoogleCodeExporter commented 8 years ago
Hi! In Unity is not possible to receive gestures with 3 and 4 fingers:
http://code.google.com/p/touchegg/wiki/FAQ

Original comment by jose.exposito89@gmail.com on 7 Oct 2012 at 9:37

GoogleCodeExporter commented 8 years ago
Yes, but two finger gestures are also not working. Touchegg doesn't recognize 
anything in unity.

Original comment by topeter...@gmail.com on 7 Oct 2012 at 10:33

GoogleCodeExporter commented 8 years ago
It used to work for me editing the source of unity like this 
http://askubuntu.com/questions/57586/how-can-i-disable-arbitrary-default-multito
uch-gestures-in-unity/90383#90383
I even could use 3 and 4 finger gestures, but since I upgraded to Precise it's 
not working anymore...

Original comment by jyhw...@gmail.com on 16 Oct 2012 at 7:05

GoogleCodeExporter commented 8 years ago
Thanks, that worked for me. Maybe you didn't see it yet, but a week after your 
reply, the post was updated with instructions for ubuntu 12.10

Original comment by topeter...@gmail.com on 10 Nov 2012 at 12:39