Quellcode durchsuchen

disable two finger scroll of touchpad

pull/1/head
10sr vor 12 Jahren
Ursprung
Commit
8ca20f4aa5
1 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  1. +6
    -2
      xinitrc

+ 6
- 2
xinitrc Datei anzeigen

@@ -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…
Abbrechen
Speichern