Highlighted
victorhqc
2 Bronze

Multitouch Gestures

Hello,
The trackpad driver works pretty well but is there a way to customize the gestures? i've been reading in other forums and there are some ways to edit the gestures using touchegg or ginn, but when I try to change them nothing happens.

I try to edit Ginn by changing the /etc/ginn/wishes.xml is there something else I should do?

0 Kudos
50 Replies
iberianpig
1 Copper

Re: Multitouch Gestures

Hi, I created Linuxs' multitouch script, xSwipe. This script make your linux PC be able to recognize

some swipes like a macbook.You can change setting for swipe by "eventKey.cfg".  

Now, I'm testing this program for XPS13.
Could you please try to use this program and give me a feedback?

github.com/.../xSwipe

0 Kudos
victorhqc
2 Bronze

Re: Multitouch Gestures

Great! I'll try it right now

0 Kudos
victorhqc
2 Bronze

Re: Multitouch Gestures

There's no

/etc/X11/xorg.conf.d/50-synaptics.conf file in the Dell XPS 13, maybe because is not using synaptics?

0 Kudos
victorhqc
2 Bronze

Re: Multitouch Gestures

When executing the script it fails because the SHMConfig is not enabled, don't know how to do it. And the cursor disappears, I had to restart to solve it

0 Kudos
iberianpig
1 Copper

Re: Multitouch Gestures

If there isn't  /etc/X11/xorg.conf.d/50-synaptics.conf, you should make the directory and copy file from /usr/share/X11/ before edit 50-synaptics.conf

Please enter  following code into terminal.

------------------------------------------------------------------------------------------------------

cd  /etc/X11/

sudo mkdir xorg.conf.d/

cd xorg.conf.d/

sudo cp /usr/share/X11/xorg.conf.d/50-synaptics.conf 50-synaptics.conf

------------------------------------------------------------------------------------------------------

0 Kudos
victorhqc
2 Bronze

Re: Multitouch Gestures

I can't enable the "SHMConfig" followed your instructions and look this as well http://askubuntu.com/questions/50201/how-to-enable-shmconfig

Here is a copy of my file

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
#
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details: # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
Option "SHMConfig" "on"
EndSection

Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection

And when I type: $ synclient SHMConfig=1 the terminal responds this:
Unknown parameter SHMConfig

0 Kudos
iberianpig
1 Copper

Re: Multitouch Gestures

This is my setting, "/etc/X11/xorg.conf.d/50-synaptics.conf "

Could you try with the below code?

-------------------------------------------------------------------------------------------------

#setting for synaptics
Section "InputClass"
Identifier "evdev touchpad catchall"
Driver "synaptics"
MatchDevicePath "/dev/input/event*"
MatchIsTouchpad "on"
Option "Protocol" "event"
Option "FingerLow" "10"
Option "FingerHigh" "40"
Option "MinSpeed" "0.4"
Option "MaxSpeed" "2"
Option "AccelFactor" "0.8"
Option "EmulateTwoFingerMinW" "8"
Option "EmulateTwoFingerMinZ" "10"
Option "HorizScrollDelta" "100"
Option "HorizTwoFingerScroll" "1"
Option "VertScrollDelta" "15"
Option "VertTwoFingerScroll" "1"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "PalmDetect" "1"
Option "AreaRightEdge" "1020"
Option "AreaTopEdge" "40"
Option "FastTaps" "0"
Option "SHMConfig" "1"
Option "MaxTapTime" "100"
EndSection

------------------------------------------------------------------------------------------------------
Please check this demo video.
0 Kudos
victorhqc
2 Bronze

Re: Multitouch Gestures

I can finally execute the Perl script with the configuration you gave me, but there are some bugs though, I will list what works and what not:

What works:

1) 4 finger drag (up/down toggle) invokes the super+w (a.k.a. expose effect)

2) 3 finger drag (right/left) changes current workspace

What not:

1) 3 finger drag (up/left) doesn't change workspace, it some times reveals the dash, others maximize current window.

2) 5 finger nothing happens.

This is a great job indeed, a little debug and this will be perfect :D!

0 Kudos
iberianpig
1 Copper

Re: Multitouch Gestures

Thank you for your kindly feedback.

>3 finger drag (up/left) doesn't change workspace, it some times reveals the dash, others maximize current window.

But, I'm at a loss to understand why such a work..

Could you tell me your "Desktop Environment"? (for example, gnome-shell, unity, xfce...and so on.)

If you are using "unity" , please try to unable "HUD".

0 Kudos