Debian

如何在 Debian Wheezy KDE 中啟用觸摸板滾動和點擊?

  • April 6, 2016

我正在嘗試使用筆記型電腦的觸摸板打開滾動和點擊(左右兩個按鈕都可以)。我在 Debian 7.3 (Wheezy) KDE 桌面上,我有一個 Synaptic 觸摸板。我的筆記型電腦是 2007 年的舊 HP 型號,因此它不支持多點觸控。作為,我創建了一個/etc/X11/xorg.conf.d/synaptics.conf我在下面複製的文件。然後在 Konsole 我給synclient -l並取回了以下程式碼:

Parameter settings:
LeftEdge                = 1752
RightEdge               = 5192
TopEdge                 = 1620
BottomEdge              = 4236
FingerLow               = 25
FingerHigh              = 30
FingerPress             = 256
MaxTapTime              = 180
MaxTapMove              = 221
MaxDoubleTapTime        = 180
SingleTapTimeout        = 180
ClickTime               = 100
FastTaps                = 0
EmulateMidButtonTime    = 75
EmulateTwoFingerMinZ    = 282
EmulateTwoFingerMinW    = 7
VertScrollDelta         = 100
HorizScrollDelta        = 100
VertEdgeScroll          = 0
HorizEdgeScroll         = 0
CornerCoasting          = 0
VertTwoFingerScroll     = 1
HorizTwoFingerScroll    = 0
MinSpeed                = 1
MaxSpeed                = 1.75
AccelFactor             = 0.0398
TrackstickSpeed         = 40
EdgeMotionMinZ          = 30
EdgeMotionMaxZ          = 160
EdgeMotionMinSpeed      = 1
EdgeMotionMaxSpeed      = 401
EdgeMotionUseAlways     = 0
TouchpadOff             = 0
LockedDrags             = 1
LockedDragTimeout       = 5000
RTCornerButton          = 0
RBCornerButton          = 0
LTCornerButton          = 0
LBCornerButton          = 0
TapButton1              = 0
TapButton2              = 0
TapButton3              = 0
ClickFinger1            = 1
ClickFinger2            = 1
ClickFinger3            = 1
CircularScrolling       = 0
CircScrollDelta         = 0.100007
CircScrollTrigger       = 0
CircularPad             = 0
PalmDetect              = 0
PalmMinWidth            = 10
PalmMinZ                = 200
CoastingSpeed           = 20
CoastingFriction        = 50
PressureMotionMinZ      = 30
PressureMotionMaxZ      = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice         = 1
TapAndDragGesture       = 1
AreaLeftEdge            = 0
AreaRightEdge           = 0
AreaTopEdge             = 0
AreaBottomEdge          = 0
HorizHysteresis         = 25
VertHysteresis          = 25
ClickPad                = 0

這是內容/etc/X11/xorg.conf.d/synaptics.conf

Section "InputClass"
Identifier "Touchpad"
MatchIsTouchpad "yes"
Driver "synaptics"
Option "MinSpeed" "0.4"
Option "MaxSpeed" "0.9"
Option "AccelFactor" "0"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "VertTwoFingerScroll" "0"
Option "HorizTwoFingerScroll" "0"
Option "VertEdgeScroll" "1"
Option "CoastingSpeed" "8"
Option "CornerCoasting" "1"
Option "TouchpadOff " "0"
EndSection

創建文件後,我已經安裝apt-get install server-xorg-input-synaptics並重新啟動了系統,synaptics.conf但沒有任何改變。

我應該怎麼做才能讓它工作?

你試過synaptiks嗎?這是一個簡單的 GUI 程序,總能解決我的觸摸板配置的任何問題。

安裝:

sudo apt-get install kde-config-touchpad

然後你應該能夠執行它

synaptiks && synaptiks

(第一個synaptiks只將圖示放在系統托盤中,並且由於某種原因不啟動 GUI)

編輯:我剛剛開始使用我的 Debian AlpsPS/2 觸摸板工作synclient

synclient TapButton1=1

我不是這方面的專家,但發現了synaptics.conf我在另一台筆記型電腦上使用的舊文件:

Section "InputClass"
   Identifier      "touchpad catchall"
   MatchIsTouchpad "on"
   MatchDevicePath "/dev/input/event*"
   Option          "HorizEdgeScroll"    "1"
   Option          "MaxTapTime"        "300"
   Driver          "synaptics"
EndSection

因此,嘗試添加catchall到 Identifier 並更改MatchIsTouchpadonfrom yes。不確定這是否會有所幫助,但應該值得一試。

您可以嘗試的另一件事是安裝tpconfig

sudo apt-get install tpconfig 

這應該會給你一個 GUI 來啟用水龍頭:

sudo tpconfig --tapmode=1

雖然我只是在我的系統上嘗試過,但它似乎不起作用

引用自:https://unix.stackexchange.com/questions/107532