UNSOLVED

victorhqc

updated

14 years ago

V

victorhqc

30 Posts

0

470614

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?

  • iberianpig

    16 Posts

    4660

    0

    Posted 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

  • victorhqc

    30 Posts

    4660

    0

    Posted 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

  • victorhqc

    30 Posts

    4660

    0

    Posted October 10th, 2012 11:00

    Great! I'll try it right now

  • victorhqc

    30 Posts

    4660

    0

    Posted 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?

  • iberianpig

    16 Posts

    4660

    0

    Posted 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

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

  • victorhqc

    30 Posts

    4660

    0

    Posted 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

  • iberianpig

    16 Posts

    4660

    0

    Posted 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.
  • victorhqc

    30 Posts

    4660

    0

    Posted 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!

  • iberianpig

    16 Posts

    4219

    0

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

  • victorhqc

    30 Posts

    861

    0

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