From 8ca20f4aa59229d870e510226648ce16312c6c78 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 4 Apr 2012 00:05:24 +0900 Subject: [PATCH] disable two finger scroll of touchpad --- xinitrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xinitrc b/xinitrc index 27d5a11..b4bc9ab 100644 --- a/xinitrc +++ b/xinitrc @@ -1,6 +1,7 @@ test "`hostname`" == "arch-aspireone" && -setxkbmap -model "acer_laptop" -layout "jp" -option "ctrl:nocaps" # this line must comes first +setxkbmap -model "acer_laptop" -layout "jp" # this line must comes first +setxkbmap -option "ctrl:nocaps" xmodmap -e 'keycode 135 = Alt_R Meta_R' # menu key as alt xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt #xmodmap -e 'remove Lock = Caps_Lock' @@ -9,9 +10,12 @@ xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt type synclient >/dev/null 2>&1 && { synclient VertEdgeScroll=0 synclient HorizEdgeScroll=0 - synclient MaxTapTime=0 + synclient MaxTapTime=0 # disable tap synclient MaxSpeed=2.0 synclient MinSpeed=0.2 + synclient VertTwoFingerScroll=0 + synclient HorizTwoFingerScroll=0 + } xset s 1800 # go blank after 30 min