Bladeren bron

disable two finger scroll of touchpad

pull/1/head
10sr 12 jaren geleden
bovenliggende
commit
8ca20f4aa5
1 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. +6
    -2
      xinitrc

+ 6
- 2
xinitrc Bestand weergeven

@@ -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


Laden…
Annuleren
Opslaan