Start a Conversation

Unsolved

This post is more than 5 years old

469679

September 22nd, 2012 19:00

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?

16 Posts

October 10th, 2012 09:00

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

30 Posts

October 10th, 2012 11:00

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

30 Posts

October 10th, 2012 11:00

Great! I'll try it right now

30 Posts

October 10th, 2012 11:00

There's no

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

16 Posts

October 10th, 2012 21:00

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

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

30 Posts

October 10th, 2012 23:00

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

16 Posts

October 11th, 2012 09:00

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.

30 Posts

October 12th, 2012 10:00

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!

16 Posts

October 12th, 2012 21:00

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".

30 Posts

October 13th, 2012 14:00

Yes, I'm using Unity (ubntu 12.04) I disabled HUD and 3 finger drag (up/down) still not working properly.

16 Posts

October 13th, 2012 21:00

Can you change workspaces with Ctr+Alt+Up(Down) ?

3-fingers' drag(up/down) works well on my Unity.

Please download and update the xSwipe.pl and eventKey.cfg again.

If you are running other multi-touch programs like ginn or toucheggs, please disable them.

30 Posts

October 15th, 2012 15:00

Not sure what is the default handler in Ubuntu 12.04, I think is ginn because the /etc/ginn/wishes.xml exists, but I deleted the file and the (default) multitouch gestures still there.

Edit:

There seems like ubuntu has some default multitouch gestures that cannot be modified unless recompiling the code.
http://askubuntu.com/questions/143952/are-there-other-gestures-for-the-synaptics-touchpad-besides-two-finger-scrolling

16 Posts

October 18th, 2012 06:00

Thanks for your big support.

I tried xSwipe first after sputnik installation, and it was no problem...

Perhaps you added utouch touchegg required.(I didn't install and use this module)

It may make your system enable to recognize some gesture.

30 Posts

October 18th, 2012 10:00

Tried sudo apt-get purge utouch && sudo apt-get purge touchegg

but are not installed, I like how the xSwipe works though :) now I'm trying to execute on startup but no look yet, what I do is to execute the perl script in alt+f2

Edit:

I finally got the script working on startup.

In startup applications just inserted this script

perl /home/victor/.xSwipe/xSwipe.pl

note that I moved it to my home folder and this is a little screen capture


Here

16 Posts

October 21st, 2012 09:00

Thanks for your feedback and note about Session Properties.

Then, xSwipe is customizable script for multitouch gestures.

Please check wiki on github. It was updated about config.

https://github.com/iberianpig/xSwipe/wiki/Customize-eventKey.cfg

No Events found!

Top