我在我的 mbp 上安装了 Ubuntu(通过 rEFind 双启动 w el capitan),默认情况下我没有滚动,也没有看到它鼠标和触控板我怎样才能使鼠标滚动再次正常工作?
笔记:
$ lsb_release-a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
$ xinput; dmesg | grep pnp; uname -r
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Apple Inc. Apple Internal Keyboard / Trackpad id=10 [slave pointer (2)]
⎜ ↳ Broadcom Corp. Bluetooth USB Host Controller id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Apple Inc. Apple Internal Keyboard / Trackpad id=9 [slave keyboard (3)]
↳ Broadcom Corp. Bluetooth USB Host Controller id=12 [slave keyboard (3)]
[ 0.364005] pnp: PnP ACPI init
[ 0.364497] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.364528] pnp 00:03: Plug and Play ACPI device, IDs APP000b (active)
[ 0.364766] pnp: PnP ACPI: found 6 devices
3.19.0-49-generic
$ sudo apt-get 安装 xserver-xorg-input-mtrack
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xserver-xorg-input-mtrack : Depends: xorg-input-abi-20
Depends: xserver-xorg-core (>= 2:1.14.99.902)
E: Unable to correct problems, you have held broken packages.
答案1
您应该尝试升级到至少 15.10。从 4.2 Linux 内核开始,添加了对 Apple 最新型触控板的支持。在此之前,您需要为其编译和安装自己的内核模块。对它的支持相当不错,但在我看来过于敏感。当我将手指悬停在触控板上时,它会记录活动。然而在 OS X 中,我必须实际触摸它,它才会记录活动。
答案2
您可能会得到一些启发,首先检查synclient -l
一下 VertTwoFingerScroll 是否设置为 0,如果是,您可以尝试使用synclient VertTwoFingerScroll=1