cht電腦資訊Linux
adm Find login register

筆電 touchpad 的設定

coolcd
joined: 2008-01-21
posted: 2601
promoted: 348
bookmarked: 95
1subject: 筆電 touchpad 的設定Promote 1 Bookmark 12009-09-14quote  

最近比較常用 touchpad,這才發現在 debian 的 touchpad 動作不正常,症狀包括:

  • 水平/垂直捲動無效
  • 在 touchpad 單點點撃無效 (在 windows 是模擬成滑鼠左鍵)

需要調校一下 /etc/X11/xorg.conf:

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver      "synaptics"
Option	    "SendCoreEvents" "true"
Option	    "Device" "/dev/psaux"
Option	    "Protocol" "auto-dev"
#Option	    "HorizScrollDelta" "0"
Option      "SHMConfig"	   "true"
Option      "LeftEdge"          "1700"  # x coord left
Option      "RightEdge"         "5600"  # x coord right
Option      "TopEdge"           "1700"  # y coord top
Option      "BottomEdge"        "4200"  # y coord bottom
Option      "FingerLow"         "25"    # pressure below this level triggers release
Option      "FingerHigh"        "30"    # pressure above this level triggers touch
Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
Option      "CoastingSpeed"     "0.30"  # corner coasting speed
Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
Option      "MinSpeed"          "0.20"  # speed factor for low pointer movement
Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
Option      "AccelFactor"       "0.0030"    # acceleration factor for normal pointer movements
#Option      "VertTwoFingerScroll"   "true"  # vertical scroll anywhere with two fingers
#Option      "HorizTwoFingerScroll"  "true"  # horizontal scroll anywhere with two fingers
Option      "TapButton1" "1"
Option      "TapButton2" "2"
Option      "TapButton3" "3"
EndSection

最重要的是 HorizEdgeScroll 與 VertEdgeScroll 要打開

在 touchpad 單點點撃的設定是 TapButton1

參考資料:

Touchpad Synaptics
edited: 2
coolcd
joined: 2008-01-21
posted: 2601
promoted: 348
bookmarked: 95
2subject: Promote 0 Bookmark 02010-02-20quote  

發覺如果進 X Window System 時在 .xinitrc 跑 gnome-settings-daemon,TapButton1 (輕點一下 touchpad) 與 Scrolling (捲動) 會失效。

臨時的解決方式:

$ synclient TapButton1=1
$ synclient HorizEdgeScroll=1
$ synclient HorizScrollDelta=100
$ synclient VertEdgeScroll=1
$ synclient VertScrollDelta=100

也可由 gconf-editor 解決:

/desktop/gnome/peripherals/touchpad/disable_while_typing (bool)
/desktop/gnome/peripherals/touchpad/tap_to_click (bool)
/desktop/gnome/peripherals/touchpad/scroll_method (int 0=off, 1=edge-scrolling, 2=two-finger-scrolling)
/desktop/gnome/peripherals/touchpad/horiz_scroll_enabled (bool)

如果在 gconf-editor 設定好,TapButton1 ok,但水平 scrolling 仍有問題,需執行

$ synclient HorizScrollDelta=100

Reference:

Touchpad Tap Clicking Broken

edited: 1
Silice
joined: 2007-11-22
posted: 305
promoted: 47
bookmarked: 17
3subject: Promote 0 Bookmark 02010-02-25quote  
感謝分享
有了eeepc touchpad的使用經驗後
敝人的作法是直接買沒有touchpad的

cht電腦資訊Linux
adm Find login register
views:11368