你好,我尝试使用某人的代码来调整我的 MacBook Pro 触摸板。执行命令并重新启动后,我的触摸板对触摸没有反应,光标不可见。我尝试更新内核,检查是否有未知显示。不知道该怎么做。这是代码:
gsettings set org.gnome.settings-daemon.plugins.mouse active false
sudo apt-get install xserver-xorg-input-mtrack
sudo apt-get autoremove xserver-xorg-input-synaptics
sudo rm /usr/share/X11/xorg.conf.d/50-synaptics.conf
sudo nano /etc/X11/xorg.conf
Pasted this inside the nano above:
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
Option "IgnoreThumb" "true"
Option "IgnorePalm" "true"
Option "DisableOnPalm" "true"
Option "BottomEdge" "30"
Option "TapDragEnable" "false"
Option "Sensitivity" "1.2"
Option "ButtonEnable" "true"
Option "ButtonIntegrated" "true"
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
Option "TapButton4" "0"
EndSection
还有这个echo "pointer = 1 2 3 5 4 6 7 8 9 10 11 12" > ~/.Xmodmap
请帮忙。
答案1
嗯... 看来你被骗了。该代码禁用了触摸板。幸运的是,只需将其反转即可!首先,当 Ubuntu 启动时,按下Alt+F1
进入终端。输入您的用户名和密码登录。进入后,运行以下命令:
gsettings set org.gnome.settings-daemon.plugins.mouse active false
sudo apt-get install xserver-xorg-input-synaptics
sudo apt-get autoremove xserver-xorg-input-mtrack
接下来运行此命令:
sudo nano /etc/X11/xorg.conf
并替换以下内容:
驱动程序“mtrack”与驱动程序“synaptics”
将“IgnoreThumb”“true”更改为“IgnoreThumb”“false”
希望这可以帮助!
编辑:如果您需要更多帮助,以下是另一个可能有帮助的答案: 这里