配置的差不多了,还有几点解决不了,来论坛问下大家:
1),thinkpad的中键模拟滚轮怎么设置,按照网上的修/etc/hal什么什么,我压根没这文件夹,还有/etc/X11/xorg.conf这个文件也没有,什么问下大家,应该怎么设置
2),通过鼠标可以调节音量和亮度,但是fn+功能键目前不行,我的是thinkpad e40
差不多了,就这2个问题,谢谢大家帮忙解答
thinkpad的中键模拟滚轮怎么设置
- ffdqlff
- 帖子: 78
- 注册时间: 2011-01-27 16:36
thinkpad的中键模拟滚轮怎么设置
不是尤里·纳吉宾式的结局,而应该是欧·亨利式的结局!
-
- 帖子: 277
- 注册时间: 2010-02-25 11:02
- 系统: Arch x64
Re: thinkpad的中键模拟滚轮怎么设置
如果用gnome,装gpointingdevice,kde还是搜搜吧,网上的教程都比较老,但找到新版xorg对应的文件或文件夹位置好像就可以了,时间久远,我也记不清了。找到后写到某处方便后人吧! 

-
- 帖子: 38
- 注册时间: 2006-04-16 0:56
- 联系:
-
- 帖子: 22323
- 注册时间: 2010-07-19 21:41
- 系统: OS X
Re: thinkpad的中键模拟滚轮怎么设置
xorg.conf.d
Some distributions now support the new Xorg hotplug configuration method via xorg.conf.d directories (in Ubuntu 10.04 Lucid Lynx) instead of hal. In contrast to the udev method below, it should be around for some time, so it might be the best way to “statically” configure scrolling.
Create the file /usr/lib/X11/xorg.conf.d/20-thinkpad.conf as root with the following content:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
Save and restart Xorg (or it'll be enabled at next reboot).
NOTE!
For Ubuntu 10.10 Maverick Meerkat, the correct path is /usr/share/X11/xorg.conf.d
NOTE!
For Arch Linux or Fedora, the correct path is /etc/X11/xorg.conf.d
NOTE!
If the above does not work for you, you may need to add a different MatchProduct string. Use
find /dev/input/event* -exec udevadm info --attribute-walk --name={} \; | grep -e product -e name | sort -u
to get a list of possibilities.
NOTE!
If the above directory doesn't exist by default in your distribution, it probably doesn't support this method. In this case, please refer to the udev or xinput method below.
udev
Now that Xorg doesn't use the configuration from hal (in Debian unstable starting january 2010), the only way to “statically” configure scrolling in trackpoint is udev. (for other people, xinput method, works fine). This method will be gone (_again_) in not too long so it might be a better idea to use xinput way. YMMV.
Create the file /etc/udev/rules.d/99_trackpoint.rules as root with the following content:
ACTION!="add|change", GOTO="xorg_trackpoint_end"
KERNEL!="event*", GOTO="xorg_trackpoint_end"
ENV{ID_PATH}!="platform-i8042-serio-1", GOTO="xorg_trackpoint_end"
ENV{x11_options.EmulateWheel}="1"
ENV{x11_options.EmulateWheelButton}="2"
ENV{x11_options.XAxisMapping}="6 7"
ENV{x11_options.Emulate3Buttons}="0"
LABEL="xorg_trackpoint_end"
Save and restart udev then Xorg (or it'll be enabled at next reboot).
躺平
- ahwad
- 帖子: 1116
- 注册时间: 2009-05-06 0:36
Re: thinkpad的中键模拟滚轮怎么设置
安装 gpointingdevice
- ffdqlff
- 帖子: 78
- 注册时间: 2011-01-27 16:36
Re: thinkpad的中键模拟滚轮怎么设置
xgdgsc 写了:如果用gnome,装gpointingdevice,kde还是搜搜吧,网上的教程都比较老,但找到新版xorg对应的文件或文件夹位置好像就可以了,时间久远,我也记不清了。找到后写到某处方便后人吧!
谢谢大家,我用yaourt安装了 gpointing-device-settings ,可以用。
不是尤里·纳吉宾式的结局,而应该是欧·亨利式的结局!