Version 5 (modified by tanakanata, 12 years ago) (diff) |
---|
Vine Linux 5 から、X の入力デバイスのうちポインタデバイス(マウスやタッチパッド)に ついては Hal が検出したデバイスを X が自動的に利用するようになっています。従来の xorg.confによる設定は今後使われず、デバイスの認識については Hal で、デバイスの設 定については Hal または XINPUT で設定することになります。
マウスデバイスは "evdev" ドライバで利用され、xorg.conf に記述した "mouse" や "vmmouse" は標準では無視されます。
デフォルトの Hal の入力デバイスの設定は次のファイルで行われています。
<?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <!-- FIXME: Support tablets too. --> <match key="info.capabilities" contains="input.mouse"> <merge key="input.x11_driver" type="string">mouse</merge> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux"> <merge key="input.x11_driver" type="string">evdev</merge> </match> </match> </device> </deviceinfo>
?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.touchpad"> <merge key="input.x11_driver" type="string">synaptics</merge> <merge key="input.x11_options.SHMConfig" type="string">true</merge> <!-- Arbitrary options can be passed to the driver using the input.x11_options property since xorg-server-1.5. --> <!-- EXAMPLES: Switch on shared memory, enables the driver to be configured at runtime <merge key="input.x11_options.SHMConfig" type="string">true</merge> Maximum movement of the finger for detecting a tap <merge key="input.x11_options.MaxTapMove" type="string">2000</merge> Enable vertical scrolling when dragging along the right edge <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> Enable vertical scrolling when dragging with two fingers anywhere on the touchpad <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge> Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge> If on, circular scrolling is used <merge key="input.x11_options.CircularScrolling" type="string">true</merge> For other possible options, check CONFIGURATION DETAILS in synaptics man page --> </match> </device> </deviceinfo>
設定の変更は、これらを直接編集せず、 /etc/hal/fdi/policy にコピーしてから修正 を行って下さい。
準備中(Halを使わない設定は推奨しない)