如何让 MacBook Air 触摸板可用?

如何让 MacBook Air 触摸板可用?

我正在尝试设置 Ubuntu,以便 MacBook Air 上的触摸板能够正常工作。

我已经成功安装并使用了 mtrack,但它仍然不起作用。加速效果很差,光标似乎随机跳动。

我根据能找到的教程编辑了我的 xorg.conf 文件。

我想修复加速度,并可能通过单击右下角来右键单击。

任何帮助都值得感激,这是我的 xorg.conf:

Section "InputClass"
MatchIsTouchpad "on"
Identifier      "Touchpads"
Driver          "mtrack"
Option          "Sensitivity" "0.55"
Option      "FingerHigh" "12"
Option      "FingerLow" "1"
Option          "IgnoreThumb" "true"
Option          "IgnorePalm" "true"
Option          "TapButton1" "0"
Option          "TapButton2" "0"
Option          "TapButton3" "0"
Option          "TapButton4" "0"
Option          "ClickFinger1" "1"
Option          "ClickFinger2" "3"
Option          "ClickFinger3" "3"
Option          "ButtonMoveEmulate" "false"
Option      "ButtonIntegrated" "true"
Option          "ClickTime" "25"
Option          "BottomEdge" "25"
Option      "SwipeLeftButton" "8"
Option      "SwipeRightButton" "9"
Option      "SwipeUpButton" "0"
Option      "SwipeDownButton" "0"
Option      "ScrollDistance" "75"
EndSection

答案1

我建议你看看mtrack

我注意到你已经配置好了,但最好检查一下:)

您可以像这样安装和配置它:

  • sudo apt-get install xserver-xorg-input-mtrack
  • sudo nano /usr/share/X11/xorg.conf.d/50-synaptics.conf

将输入部分更改为类似于以下内容:

Section "InputClass"
        MatchIsTouchpad "on"
        Identifier      "Touchpads"
        Driver          "mtrack"
        Option          "Sensitivity" "0.95"
        Option          "FingerHigh" "12"
        Option          "FingerLow" "1"
        Option          "IgnoreThumb" "true"
        Option          "IgnorePalm" "true"
        Option          "TapButton1" "0"
        Option          "TapButton2" "0"
        Option          "TapButton3" "0"
        Option          "TapButton4" "0"
        Option          "ClickFinger1" "1"
        Option          "ClickFinger2" "3"
        Option          "ClickFinger3" "3"
        Option          "ButtonMoveEmulate" "false"
        Option          "ButtonIntegrated" "true"
        Option          "ClickTime" "25"
        Option          "BottomEdge" "25"
        Option          "SwipeLeftButton" "8"
        Option          "SwipeRightButton" "9"
        Option          "SwipeUpButton" "0"
        Option          "SwipeDownButton" "0"
        Option          "ScrollDistance" "75"
        Option          "ScrollUpButton" "5"
        Option          "ScrollDownButton" "4"
EndSection
  • ctrl+x使用和y保存并退出 nano 来保存配置
  • 重启

我希望这能有所帮助!

祝你好运 :)

相关内容