Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: multi touch gestures on T530

  1. #11
    Join Date
    Aug 2012
    Beans
    1

    Re: multi touch gestures on T530

    Thank you so much, the code works well.

  2. #12
    Join Date
    Aug 2013
    Beans
    2

    Re: multi touch gestures on T530

    Works great! How should I edit the script if I want to use "Ctrl + Three finger gesture" as input?

  3. #13
    Join Date
    Sep 2013
    Beans
    1

    Re: multi touch gestures on T530

    Thanks a lot! This is the only solution that worked for me. For some time, at least.

    I'm facing a problem after upgrading Kubuntu from 13.04 to 13.10. While adding the two lines to xorg.conf, I noticed it's slightly different compared to what it was before.
    Here are the contents (after adding the two lines):

    # 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"
    Option "SHMConfig" "on"
    Option "Protocol" "event"
    # 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/ho...on-errors.html
    MatchDevicePath "/dev/input/event*"
    EndSection


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


    # This option enables the bottom right corner to be a right button on
    # non-synaptics clickpads.
    # This option is only interpreted by clickpads.
    Section "InputClass"
    Identifier "Default clickpad buttons"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    # To disable the bottom edge area so the buttons only work as buttons,
    # not for movement, set the AreaBottomEdge
    # Option "AreaBottomEdge" "82%"
    EndSection


    # This option disables software buttons on Apple touchpads.
    # This option is only interpreted by clickpads.
    Section "InputClass"
    Identifier "Disable clickpad buttons on Apple touchpads"
    MatchProduct "Apple|bcm5974"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
    EndSection



    I tried following the procedure anyway, but the "synclient -m 100" gives this error:

    synclient: invalid option -- 'm'
    Usage: synclient [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]
    -l List current user settings
    -V Print synclient version string and exit
    -? Show this help message
    var=value Set user parameter 'var' to 'value'.

    Am I doing anything wrong here?

  4. #14
    Join Date
    Apr 2013
    Beans
    2

    Re: multi touch gestures on T530

    Quote Originally Posted by Amit_Kulkarni View Post
    Thanks a lot! This is the only solution that worked for me. For some time, at least.

    I'm facing a problem after upgrading Kubuntu from 13.04 to 13.10. While adding the two lines to xorg.conf, I noticed it's slightly different compared to what it was before.
    Here are the contents (after adding the two lines):

    # 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"
    Option "SHMConfig" "on"
    Option "Protocol" "event"
    # 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/ho...on-errors.html
    MatchDevicePath "/dev/input/event*"
    EndSection


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


    # This option enables the bottom right corner to be a right button on
    # non-synaptics clickpads.
    # This option is only interpreted by clickpads.
    Section "InputClass"
    Identifier "Default clickpad buttons"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    # To disable the bottom edge area so the buttons only work as buttons,
    # not for movement, set the AreaBottomEdge
    # Option "AreaBottomEdge" "82%"
    EndSection


    # This option disables software buttons on Apple touchpads.
    # This option is only interpreted by clickpads.
    Section "InputClass"
    Identifier "Disable clickpad buttons on Apple touchpads"
    MatchProduct "Apple|bcm5974"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
    EndSection



    I tried following the procedure anyway, but the "synclient -m 100" gives this error:

    synclient: invalid option -- 'm'
    Usage: synclient [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]
    -l List current user settings
    -V Print synclient version string and exit
    -? Show this help message
    var=value Set user parameter 'var' to 'value'.

    Am I doing anything wrong here?
    I have a same problem after upgrading to Ubuntu 13.10. It looks like a SHMConfig option doesn't work.

  5. #15
    Join Date
    Aug 2013
    Beans
    2

    Re: multi touch gestures on T530

    Quote Originally Posted by strofo View Post
    I have a same problem after upgrading to Ubuntu 13.10. It looks like a SHMConfig option doesn't work.
    Upgrading to 13.10 removes the '-m' option.
    https://github.com/iberianpig/xSwipe/issues/4

  6. #16
    Join Date
    Dec 2006
    Beans
    1

    Lightbulb Re: multi touch gestures on T530

    [EDIT] Whoops, read twice, ask not.

    Pretty slick little script, though. Thanks a mil!

    Any chance that there's some way, by modifying this script, to invert the scroll direction of the default-enabled 2-finger scrolling? Because that would just be awesome.
    Last edited by FireSBurnsmuP; November 13th, 2013 at 07:16 AM. Reason: I'm an idiot sometimes

  7. #17
    Join Date
    Feb 2014
    Beans
    1

    Re: multi touch gestures on T530

    Hi, I'm following you instruction, and i got an error in here.

    stevepark@ubuntu:~$ synclient -m 100
    synclient: invalid option -- 'm'
    Usage: synclient [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]
    -l List current user settings
    -V Print synclient version string and exit
    -? Show this help message
    var=value Set user parameter 'var' to 'value'.


    Can i ask what the problem is???

    Thank you!

  8. #18
    Join Date
    Jul 2007
    Beans
    5

    Re: multi touch gestures on T530

    Hello!

    Same here! Isn't there a way to retrieve the the same data other way? It seems that "-m" flag has been deprecated. :S

    Thank you!

  9. #19
    Join Date
    Aug 2011
    Beans
    1

    Exclamation Re: multi touch gestures on T530

    Quote Originally Posted by Melclic View Post
    Hello curiousgally,

    I recently got the three finger swipe to work, after a loooooonnngg time googling. You can see if touchegg works for you:
    http://code.google.com/p/touchegg/
    It enables a lot of configuration of your synaptics touchpad. For me however it was a dead end. My solution is a little derivative hack from
    http://rickey-nctu.blogspot.co.uk/20...erlubuntu.html

    First and foremost, you should check if your hardware detects three fingers.

    Get your copy the synaptics configuration file and copy it to the following location:
    Code:
    sudo cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf
    Modify the file you have just copied
    Code:
    sudo gedit /etc/X11/xorg.conf
    Find the section enclosed by 'Section "InputClass"' 'EndSection' that contains 'Identifier "touchpad catchall"'

    And add the lines 'Option "SHMConfig" "on"' and 'Option "Protocol" "event"' for it to look something like this:
    Code:
    Section "InputClass"
       Identifier "touchpad catchall"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Driver "synaptics"
       Option "SHMConfig" "on"
       Option "Protocol" "event"
    EndSection
    Then you have to restart X, or just restart you laptop. After that type in the terminal
    Code:
    synclient -m 100
    And move your cursor around. There should be a column named "f" and it should return the number of fingers that you are being detected. If that number includes 3 when you press with three finger your touchpad supports three finger swipe. Congrats!

    Right; now download the file attached and save it where you want. And to test it:

    Code:
    python /path/to/file
    Try the three finger swipe. I have configured it so to change workspace.

    If that works for you and you configured it to your needs, just add it to your start up applications with the command
    Code:
    bash -c "python /path/to/file"
    Basically the file monitors the synclient and detects when three fingers have been activated and returns an appropriate action. You can set the actions yourself and the sensitivity of the swipe movements.

    Hope this helps



    Hi
    while i run the following code, its gives me error :
    Code:
    synclient -m 100
    Code:
    synclient: invalid option -- 'm'
    Usage: synclient [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]
      -l List current user settings
      -V Print synclient version string and exit
      -? Show this help message
      var=value  Set user parameter 'var' to 'value'.
    I also downloaded the file and tried running the file mTouch.py but no good.

    Please help, I am using 14.04 ubuntu in HP Pavilion g7
    Last edited by Anil3a; May 5th, 2014 at 07:46 AM.

  10. #20
    Join Date
    Jun 2014
    Beans
    4

    Re: multi touch gestures on T530

    Hi , i tried your solution on my laptop runing ubuntu 14.04 and everything worked well till the step synclient -m 100 command the output i got was -m is not alid option
    synclient: invalid option -- 'm'
    Usage: synclient [-h] [-l] [-V] [-?] [var1=value1 [var2=value2] ...]
    -l List current user settings
    -V Print synclient version string and exit
    -? Show this help message
    var=value Set user parameter 'var' to 'value'.

    will your solution work for me ?

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •