#blognavi
128 :login:Penguin :sage :2005/04/06(水) 21:07:47 ID:wetzh4Z0
ThinkPad X22にインスコしたんだけど
赤いポッチでぐりぐりスクロールさせるにはどーしたらよいの?
130 :login:Penguin :sage :2005/04/06(水) 22:08:59 ID:Nn6OrKT3
>>128
/etc/X11/XF86Config の Section "InputDevice"に追記。
Option "YAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "EmulateInertia" "50"
今回の環境はVine Linux 2.6r3です。
ThinkPad X31にVine Linux 2.6r3を導入しましたがX、サウン
ド等特に問題なく動作しています。ただ内蔵のIntelのワイヤ
レスLANだけはドライバーがまだなく使用できません。
Windowsで真中ボタンを押しながらトラックポイントを使用す
ると画面のスクロールが可能ですが、Linuxの場合、インスト
ール直後の状態ではこの機能が使えません。
/etc/X11/XF86Config-4 を以下のように変更することで使用 可能になりました。
ection "InputDevice"
# Modified by mouseconfig
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
#
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "EmulateInertia" "50"
EndSection
Vineの場合、上記の3行を追加しました。
これでXを再起動すれば有効になります。
Configuring XFree86
See my attached XFree86 configuration (see
http://www.chronox.de/x40_linux/XF86Config-4). You see, that I included support for any USB mouse that might be attached to the laptop. Since I use the /dev/input/mice device for the touchpad and the USB mouse, any USB mouse can even be attached and will recognized after X is started (thanks to kernel 2.6.0)!
This config automatically uses the Thinkpad stick.
In case you need a fonts server, add the following lines to the XFree configuration file:
FontPath "/tmp/.font-unix/fs7100"
FontPath "/tmp/.font-unix/fs7110"
If you want to use your middle mouse button for scrolling instead of using it for copy&paste, add the following configuration to XFree:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux" # or /dev/input/mice
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "on"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "2"
EndSection
Since you have compiled in the kernel support for AGP and DRI for the Intel chips (see the configuration above), you automatically have hardware accelerated graphics support. Glxgears with the standard Debian X11 4.3 packages shows me about 430 fps.
カテゴリ: [
linux] - &trackback() - 2005年07月06日 00:52:40
#blognavi
最終更新:2005年07月09日 03:39