Thank you so much, the code works well.
Thank you so much, the code works well.
Works great! How should I edit the script if I want to use "Ctrl + Three finger gesture" as input?
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?
Upgrading to 13.10 removes the '-m' option.
https://github.com/iberianpig/xSwipe/issues/4
[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
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!
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!
Hi
while i run the following code, its gives me error :
Code:synclient -m 100I also downloaded the file and tried running the file mTouch.py but no good.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'.
Please help, I am using 14.04 ubuntu in HP Pavilion g7
Last edited by Anil3a; May 5th, 2014 at 07:46 AM.
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 ?
Bookmarks