| 跳过导航链接 | |
| 退出打印视图 | |
|
Oracle Solaris 11 辅助功能指南(适用于 GNOME 桌面) Oracle Solaris 11 Information Library (简体中文) |
在 Oracle Solaris 系统上针对辅助功能配置 Java 环境
在 Oracle Solaris 系统上配置 Java 环境
以下各节介绍如何配置系统以使用标准物理鼠标和其他指针设备(例如单个交换机设备或头部跟踪器设备),以及如何配置 "On-Screen Keyboard"(屏幕上的键盘)以使用第二个指针设备。
注 - 此过程并不适用于所有 Oracle Solaris 平台。
# ls -l /dev/usb/hid*
# ls -l /dev/usb/hid*
# Sun Mouse module
class="XINPUT" name="IMOUSE2"
dev="/dev/usb/hid2" strmod="usbms"
ddxHandler="ddxSUNWmouse.so.1"
ddxInitFunc="ddxSUNWmouseProc";其中:
name 选项以字符串 IMOUSE 开头,但可以扩展以形成唯一字符串,例如 IMOUSE2 或 IMOUSE3,具体取决于现有设备的数量。
dev 选项指定在步骤 3 中标识的设备名称。
# Null Mouse module class="XINPUT" name="NMOUSE"
ddxHandler="ddxSUNWmouse.so.1" ddxInitFunc="ddxnullmouseProc";# ls -l /dev/usb/hid*
# ls -l /dev/usb/hid*
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1"
InputDevice "Keyboard0" "CoreKeyboard"
EndSectionSection "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "VUID"
Option "Device" "/dev/mouse"
EndSectionSection "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "VUID"
Option "StreamsModule" "usbms"
Option "Device" "/dev/usb/hidx"
EndSection其中:
/dev/usb/hidx 是在步骤 3 中标识的设备名称。