如何在 Ubuntu 中启用摇杆指点设备?

如何在 Ubuntu 中启用摇杆指点设备?

如何在 Ubuntu (9.10) 中启用/禁用摇杆指点设备?如何配置摇杆指针的点击和滚动?(我无法使用摇杆点击并滚动页面。)

答案1

用于 GUI 解决方案

$ sudo apt-get install gpointing-device-settings
$ gpointing-device-settings

用于命令行

$ xinput list
# find your device name there
$ xinput list-props "PointingStick" # the name can be different
# this will list available settings for that pointing stick
$ xinput set-*-prop "PointingStick" ...
# to set a property, see man page for more how to set properties

an example how to set it for thinkpad
$ xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation" 8 1
$ xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation Button" 8 2
$ xinput set-int-prop '"TPPS/2 IBM TrackPoint"' "Evdev Wheel Emulation Timeout" 8 200

to disable device
$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 0
to enable 
$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 8 1

有关详细信息,请参阅

相关内容