瀏覽代碼

disable two finger scroll of touchpad

pull/1/head
10sr 12 年之前
父節點
當前提交
8ca20f4aa5
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. +6
    -2
      xinitrc

+ 6
- 2
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


Loading…
取消
儲存