Apple Magic Mouse 在 Ubuntu 12.10 上过于敏感

Apple Magic Mouse 在 Ubuntu 12.10 上过于敏感

我刚刚安装了 Ubuntu 12.10,并且尝试使用 Magic Mouse,但它无法正常工作,问题是跟踪太敏感而滚动太不敏感。

我尝试使用该xinput set-ptr-feedback命令编辑设置,但没有任何改变。

有没有人遇到同样的问题可以帮助我?

更新:跟踪问题已解决,但滚动仍然太慢,这是我的鼠标 xinput 设置:

luca@luca-iMac:~$ xinput list-props 14

Device 'Magic Mouse':

    Device Enabled (146):   1
    Coordinate Transformation Matrix (148): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (273): 0
    Device Accel Constant Deceleration (274):   3.000000
    Device Accel Adaptive Deceleration (275):   1.000000
    Device Accel Velocity Scaling (276):    10.000000
    Device Product ID (265):    1452, 781
    Device Node (266):  "/dev/input/event10"
    Evdev Axis Inversion (277): 0, 0
    Evdev Axes Swap (279):  0
    Axis Labels (280):  "Rel X" (156), "Rel Y" (157), "Rel Horiz Wheel" (271), "Rel Vert Wheel" (272)
    Button Labels (281):    "Button Left" (149), "Button Middle" (150), "Button Right" (151), "Button Wheel Up" (152), "Button Wheel Down" (153), "Button Horiz Wheel Left" (154), "Button Horiz Wheel Right" (155)
    Evdev Middle Button Emulation (282):    0
    Evdev Middle Button Timeout (283):  50
    Evdev Third Button Emulation (284): 0
    Evdev Third Button Emulation Timeout (285): 1000
    Evdev Third Button Emulation Button (286):  3
    Evdev Third Button Emulation Threshold (287):   20
    Evdev Wheel Emulation (288):    0
    Evdev Wheel Emulation Axes (289):   0, 0, 4, 5
    Evdev Wheel Emulation Inertia (290):    10
    Evdev Wheel Emulation Timeout (291):    0
    Evdev Wheel Emulation Button (292): 4
    Evdev Drag Lock Buttons (293):  0

任何想法?

答案1

这对我来说在 12.10 中可以加快滚动速度。

sudo rmmod hid_magicmouse
modprobe hid_magicmouse scroll-speed=55 scroll-acceleration=1

您可以尝试不同的速度。最小值为 0,最大值为 63(我相信默认值为 32)。任何超过 50 的值对我来说都感觉“自然”。我使用了 1 的滚动加速度;感觉已经足够了(当您快速移动时,滚动速度呈指数级增长)。

如果您没有正确输入,鼠标将无法工作,直到应用有效的设置。

答案2

我相信我做了类似的事情来解决类似的问题 http://numberformatdata.wordpress.com/2011/05/08/apple-magic-mouse-works-with-ubuntu/

更详细的解释: http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/

我认为这些指示在 12.10 上仍然有效

答案3

Will Huang 链接的说明在 12.10 上对我有用。我刚刚在~/.bash_aliases

alias mouse-list='xinput --list-props "bluetooth mouse"' 
alias mouse-slow='xinput --set-prop "bluetooth mouse" "Device Accel Constant Deceleration" 1.5'

http://numberformatdata.wordpress.com/2011/05/08/apple-magic-mouse-works-with-ubuntu/

答案4

在 Ubuntu 14.04 中我最终得到:

sudo rmmod hid_magicmouse
sudo modprobe hid_magicmouse scroll-speed=50 scroll-acceleration=1
xinput --set-prop "Elijah's mouse" "Device Accel Constant Deceleration" 5

xinput --set-prop可以通过执行 来找到中的变量xinput --list

相关内容