<para>The above lines must be displayed as single lines in the <filename>gdm.conf</filename> file without line breaks. The formatting of this guide
may display the lines over two lines.</para>
</note>
<para>This step loads all of the GtkModules to enable assistive technologies
such as <application>On-Screen Keyboard</application> and <application>Screen
Reader and Magnifier</application>. You can edit the line above further to
load only the GtkModules that you require to support the user base. For example: </para>
<itemizedlist>
<listitem>
<para>If you need to use the <application>Screen Reader and Magnifier</application>, include <literal>gail</literal> and <literal>atk-bridge</literal>.</para>
</listitem>
<listitem>
<para>If you need to use a pointing device without buttons or switches,
include <literal>gail</literal>, <literal>atk-bridge</literal>, and<literal>dwellmouselistener</literal>. </para>
</listitem>
<listitem>
<para>If you use pointing devices with switches, alternative physical
keyboards, or switch and button devices, include <literal>keymouselistener</literal>.</para>
</listitem>
<listitem>
<para><application>On-Screen Keyboard</application> can operate
without <literal>gail</literal> and <literal>atk-bridge</literal> but with
a reduced feature set. </para>
</listitem>
</itemizedlist>
<para>For optimum accessibility, include <literal>gail</literal> and <literal>atk-bridge</literal>.</para>
</listitem>
<listitem>
<para>Save the <filename>/etc/X11/gdm/gdm.conf</filename> file.</para>
</listitem>
<listitem>
<para>Enter the following command to stop the <application>dtlogin</application> manager:</para>
<para>
<command>/usr/dt/bin/dtconfig -d</command>
</para>
</listitem>
<listitem>
<para>Enter the following commands to configure GDM as the login
<para>The above lines must be displayed as single lines in the <filename>gdm.conf</filename> file without line breaks. The formatting of this guide
may display the lines over two lines.</para>
</note>
<para>This step loads all of the GtkModules to enable assistive technologies
such as <application>On-Screen Keyboard</application> and <application>Screen
Reader and Magnifier</application>. You can edit the line above further to
load only the GtkModules that you require to support the user base. For example: </para>
<itemizedlist>
<listitem>
<para>If you need to use the <application>Screen Reader and Magnifier</application>, include <literal>gail</literal> and <literal>atk-bridge</literal>.</para>
</listitem>
<listitem>
<para>If you need to use a pointing device without buttons or switches,
include <literal>gail</literal>, <literal>atk-bridge</literal>, and <literal>dwellmouselistener</literal>. </para>
</listitem>
<listitem>
<para>If you use pointing devices with switches, alternative physical
keyboards, or switch and button devices, include <literal>keymouselistener</literal>.</para>
</listitem>
<listitem>
<para><application>On-Screen Keyboard</application> can operate
without <literal>gail</literal> and <literal>atk-bridge</literal> but with
a reduced feature set. </para>
</listitem>
</itemizedlist>
<para>For optimum accessibility, include <literal>gail</literal> and <literal>atk-bridge</literal>.</para>
</listitem>
<listitem>
<para>Save the <filename>/etc/X11/gdm/gdm.conf</filename> file.</para>
<note>
<para>If you make any changes to the <filename>/etc/X11/gdm/gdm.conf</filename> file after you enable GDM, you can execute the following command
to restart GDM and activate the changes:</para>
<para>
<command>gdm-restart</command>
</para>
</note>
</listitem>
<listitem>
<para>Edit the file <filename>/etc/group</filename> and append the
following to the <literal>audio</literal> line:</para>
<para>
<literal>,gdm</literal>
</para>
<para>This step ensures that speech works with GDM.</para>
</listitem>
<listitem>
<para>Restart your system.</para>
</listitem>
</orderedlist>
</sect3>
</sect2>
<sect2 id="sysadmin-29">
<title>To Start Assistive Technologies at Login</title>
<indexterm>
<primary>gestures</primary>
</indexterm>
<para>If you load the <literal>keymouselistener</literal> and <literal>dwellmouselistener</literal> GtkModules
in the GDM configuration file, you can assign user actions to launch specific
assistive technologies at login time. These user actions are called gestures.
The gesture associations are contained in the following GDM configuration
<para>Users who use single switches may prefer to start <application>On-Screen
Keyboard</application> in automatic scanning mode. The following line starts <application>On-Screen Keyboard</application> in automatic scanning mode when the user
presses the switch on an alternative access device for more than four seconds:</para>
<para>For information about the <application>On-Screen Keyboard</application>
operating modes, see the online Help for <application>On-Screen Keyboard</application>.</para>
</sect3>
<sect3 id="sysadmin-32">
<title>To Start On-Screen Keyboard Using a Motion-only Gesture</title>
<para>You can define gestures that involve only the motion of a pointing device
such as a mouse, or an alternative pointing device, such as a head pointer
or trackball. The syntax of the gesture does not change depending on whether
you are using a mouse or an alternative pointing device. Edit the <filename>AccessKeyMouseEvents</filename> file to associate motion gestures with assistive
technologies.</para>
<para>If the <literal>dwellmouselistener</literal> GtkModule is loaded, alternative
pointing devices are temporarily latched to the core pointer. This means that
if the user moves the alternative pointing device, the onscreen pointer moves.</para>
<para>For example, the following line starts <application>On-Screen Keyboard</application> in dwell mode when the user moves the onscreen pointer from
inside the login dialog through the top edge, back into the dialog through
the top edge, out of the dialog through the left edge, back into the dialog
through the left edge, and similarly through the bottom and right edges of
the dialog in a cross pattern:</para>
<para>
<emphasis>Solaris:</emphasis>
</para>
<para>
<literal>TTLLBBRR O 10000 /usr/sfw/bin/gok --login --access-method=dwellselection
--input-device=MOUSE[3]</literal>
</para>
<para>
<emphasis>Linux:</emphasis>
</para>
<para>
<literal>TTLLBBRR O 10000 gok --login --access-method=dwellselection
--input-device=MOUSE[3]</literal>
</para>
<para>Note that the <literal>--input-device</literal> parameter specified
in the gesture must match the name of the extended user input device, such
as a head pointer or trackball, as specified in <filename>/etc/X11/XF86Config</filename>.</para>
</sect3>
</sect2>
<sect2 id="sysadmin-33">
<title>Additional Requirements for Accessible Login</title>
<para>To enable the Accessible Login feature to use alternative pointing devices
and switch devices such as sip-and-puff switches, wheelchair-mounted switches,
or trackballs, you might need to modify your X server system configuration
to recognize these devices. You can use most devices that emulate mouse buttons
with the Accessible Login feature and <application>On-Screen Keyboard</application>,
including USB single switches and mouse-like pointing devices.</para>
<note>
<para>You should not configure an alternative input device to control
the primary onscreen pointer. This might result in undesirable behavior or
cause situations from which the user of the alternate input device cannot
recover without using the primary keyboard or mouse. To prevent this problem,
please remove any occurrences of the attributes <literal>SendCore</literal>
or <literal>AlwaysCore</literal> from any of <literal>InputDevice</literal>
lines in the X Server configuration file.</para>
</note>
</sect2>
</sect1>
<sect1 id="sysadmin-7">
<title>Configuring the Java Environment for Accessibility on Solaris Systems</title>
<indexterm>
<primary>Java environment, configuring</primary>
</indexterm>
<para>To configure the Java environment on Solaris systems for accessibility, perform
the following steps:</para>
<orderedlist>
<listitem>
<para>Log in as the <literal>root</literal> user to the base directory
<para>Open the <filename>Xservers</filename> file in a text editor
and scroll to the end of the file. </para>
</listitem>
<listitem>
<para>Append the following to the command line at the end of the
file:</para>
<screen>
<userinput>+kb</userinput>
</screen>
</listitem>
<listitem>
<para>Save and close the <filename>Xservers</filename> file.</para>
</listitem>
<listitem>
<para>Enter the following command at a command line:</para>
<screen>
<command>pkill -HUP dtlogin</command>
</screen>
</listitem>
<listitem>
<para>Open the <filename>/etc/X11/gdm/gdm.conf</filename> file in
a text editor.</para>
</listitem>
<listitem>
<para>Scroll towards the end of the file until you see the line <literal>[server - standard]</literal>.</para>
</listitem>
<listitem>
<para>Edit the <literal>command</literal> line in this section to
append the following to the end of the line:</para>
<para>
<command>+accessx +kb</command>
</para>
</listitem>
<listitem>
<para>Save and close the <filename>gdm.conf</filename> file.</para>
</listitem>
<listitem>
<para>Log out of your session and log in again.</para>
</listitem>
<listitem>
<para>To verify if XKB is running, execute the following command: </para>
<para>
<command>xdpyinfo</command>
</para>
<para>then search for XKEYBOARD in the extensions list.</para>
</listitem>
</orderedlist>
</sect1>
<sect1 id="sysadmin-6">
<title>Enabling Full Screen Magnification</title>
<indexterm>
<primary>Screen Reader and Magnifier</primary>
<secondary>enabling
full screen magnification</secondary>
</indexterm>
<para>The following sections
describe the methods to enable full screen magnification.</para>
<sect2 id="sysadmin-48">
<title>To Enable Full Screen Magnification Using Two Video Cards</title>
<para>To enable full screen magnification in <application>Screen Reader and
Magnifier</application> using two physical video cards, perform the following
steps:</para>
<orderedlist>
<listitem>
<para>Configure two video cards as :0.0 and :0.1.</para>
<note>
<para>It is not essential that both video cards have the same resolution
and bit depth. However, if the resolutions and bit depths of both cards differ
greatly, the apparent magnification factor may differ slightly from the nominal
magnification factor.</para>
</note>
</listitem>
<listitem>
<para>Choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Accessibility</guisubmenu><guimenuitem>Screen Reader and Magnifier</guimenuitem></menuchoice>.</para>
</listitem>
<listitem>
<para>Click on <guilabel>Preferences</guilabel> in the <guilabel>Gnopernicus</guilabel> menu window.</para>
</listitem>
<listitem>
<para>Click on <guilabel>Magnifier</guilabel> to open the <guilabel>Magnifier Preferences</guilabel> dialog.</para>
</listitem>
<listitem>
<para>Click on the <guibutton>Add/Modify</guibutton> button to display
the <guilabel>Zoomer Options</guilabel> dialog.</para>
</listitem>
<listitem>
<para>In the <guilabel>Display Screen</guilabel> section, type <userinput>:0.0</userinput> in the <guilabel>Source</guilabel> text box. </para>
</listitem>
<listitem>
<para>In the <guilabel>Display Screen</guilabel> section, type <userinput>:0.1</userinput> in the <guilabel>Target</guilabel> text box. </para>
</listitem>
<listitem>
<para>Set the Zoomer Placement values to be <literal>[0,0,1023,767]</literal>.</para>
<note>
<para>These instructions assume a video resolution of 1024x768. </para>
</note>
</listitem>
<listitem>
<para>Click <guibutton>Apply</guibutton> and <guibutton>Close</guibutton>
to close the <guilabel>Zoomer Options</guilabel> dialog. </para>
<para>The magnified view is displayed on the second display 0.1.</para>
</listitem>
</orderedlist>
</sect2>
<sect2 id="sysadmin-49">
<title>To Enable Full Screen Magnification Using One Video Card on Linux Systems</title>
<para>To enable full screen magnification on Linux systems using one physical
video card and one virtual video card, perform the following steps:</para>
<orderedlist>
<listitem>
<para>Open the file <filename>/etc/X11/XF86Config</filename>.</para>
</listitem>
<listitem>
<para>Create a new section at the end of the file as follows:</para>
<literallayout>Section "Device"
Boardname "dummy"
Driver "dummy"
Identifier "dummy"
VendorName "dummy"
EndSection </literallayout>
</listitem>
<listitem>
<para>Copy the <literal>Monitor</literal> section and paste it at
the end of the file.</para>
</listitem>
<listitem>
<para>In the new <literal>Monitor</literal> section, edit the <literal>Identifier</literal> line as follows:</para>
<para>Save the <filename>/etc/X11/XF86Config</filename> file.</para>
</listitem>
<listitem>
<para>Restart the X Server.</para>
</listitem>
<listitem>
<para>Start the <application>Screen Reader and Magnifier</application>
application.</para>
</listitem>
<listitem>
<para>Click on <guilabel>Startup Mode</guilabel> in the <guilabel>Gnopernicus</guilabel> menu window.</para>
</listitem>
<listitem>
<para>Select the <guilabel>Magnifier</guilabel> option in the <guilabel>Startup Mode</guilabel> dialog.</para>
</listitem>
<listitem>
<para>Click on <guilabel>Preferences</guilabel> in the <guilabel>Gnopernicus</guilabel> menu window.</para>
</listitem>
<listitem>
<para>Click on <guilabel>Magnifier</guilabel> to open the <guilabel>Magnifier Preferences</guilabel> dialog.</para>
</listitem>
<listitem>
<para>Click on the <guibutton>Add/Modify</guibutton> button to display
the <guilabel>Zoomer Options</guilabel> dialog.</para>
</listitem>
<listitem>
<para>In the <guilabel>Display Screen</guilabel> section, type <userinput>:0.1</userinput> in the <guilabel>Source</guilabel> text box. </para>
</listitem>
<listitem>
<para>In the <guilabel>Zoomer Placement</guilabel> section, set
the value of the <guilabel>Left</guilabel> spin box to <userinput>0</userinput>.</para>
</listitem>
<listitem>
<para>Click <guibutton>Apply</guibutton>.</para>
<para>The <application>Screen Reader and Magnifier</application> user interface
is no longer visible.</para>
</listitem>
<listitem>
<para>Log out of your session.</para>
</listitem>
<listitem>
<para>Log in to a new session.</para>
</listitem>
<listitem>
<para>Enter the following command to start <application>Screen Reader
and Magnifier</application> in full screen magnification mode:</para>
<para>
<command>gnopernicus -display :0.1</command>
</para>
</listitem>
<listitem>
<para>When you log out of your session, select the <guilabel>Save
current setup</guilabel> option. </para>
</listitem>
</orderedlist>
</sect2>
</sect1>
<sect1 id="sysadmin-52">
<title>Enabling Braille</title>
<indexterm>
<primary>Braille, enabling</primary>
</indexterm>
<para>To enable
your system to support Braille output, you must configure the access rights
to the serial port to which the Braille device is connected. The following
sections describe the steps that you need to perform depending on your operating
system.</para>
<sect2 id="sysadmin-53">
<title>To Enable Braille on Solaris Systems</title>
<para>To configure the serial port to which the Braille device is connected
on Solaris systems, perform the following steps:</para>
<orderedlist>
<listitem>
<para>Log in as the <literal>root</literal> user.</para>
</listitem>
<listitem>
<para>Enter the following command:</para>
<para>
<command>chmod 777 /dev/cua/a</command>
</para>
</listitem>
<listitem>
<para>Enter the following command:</para>
<para>
<command>chmod 777 /dev/cua/b</command>
</para>
</listitem>
<listitem>
<para>Change the permissions to <literal>777</literal> on the devices
to which the symbolic links <literal>/dev/cua/a</literal> and <literal>/dev/cua/b</literal> point. </para>
</listitem>
</orderedlist>
<note>
<para>If your system uses <command>/dev/cua/a</command> for system log
messages, Braille will not work on that serial port. Use <command>/dev/cua/b</command> instead.</para>
</note>
</sect2>
<sect2 id="sysadmin-54">
<title>To Enable Braille on Linux Systems</title>
<para>To configure the serial port to which the Braille device is connected
on Linux systems, perform the following steps:</para>
<orderedlist>
<listitem>
<para>Log in as the <literal>root</literal> user.</para>
</listitem>
<listitem>
<para>Enter the following command:</para>
<para>
<command>chmod 777 /dev/ttyS0</command>
</para>
</listitem>
<listitem>
<para>Enter the following command:</para>
<para>
<command>chmod 777 /dev/ttyS1</command>
</para>
</listitem>
</orderedlist>
</sect2>
</sect1>
<sect1 id="sysadmin-37">
<title>Configuring Alternative Pointer Devices</title>
<para>The following sections describe how to configure your system to use
a standard physical mouse and another pointer device such as a single switch
device or head tracker device, and how to configure <application>On-Screen
Keyboard</application> to use the second pointer device.</para>
<sect2 id="sysadmin-45">
<title>To Configure Alternative Pointer Devices on Solaris Systems</title>
<indexterm>
<primary>configuring two pointer devices</primary>
<secondary>on
Solaris systems</secondary>
</indexterm>
<para>To configure an alternative pointer
device on a Solaris system, perform the following steps:</para>
<note>
<para>This procedure does not work on all Solaris platforms.</para>
</note>
<orderedlist>
<listitem>
<para>Before you connect the alternative pointer device to your
system, enter the following command to list the existing devices:</para>
<para>
<command>ls -l /dev/usb/hid*</command>
</para>
</listitem>
<listitem>
<para>Connect the alternative pointer device to your system.</para>
</listitem>
<listitem>
<para>Enter the following command again to list the new device:</para>
<para>
<command>ls -l /dev/usb/hid*</command>
</para>
</listitem>
<listitem>
<para>Open the file <filename>/usr/openwin/server/etc/OWconfig</filename>.</para>
</listitem>
<listitem>
<para>Add the following lines to the <filename>OWconfig</filename>
file:</para>
<para>
<literallayout># Sun Mouse module
class="XINPUT" name="IMOUSE2"
dev="/dev/usb/hid2" strmod="usbms"
ddxHandler="ddxSUNWmouse.so.1"
ddxInitFunc="ddxSUNWmouseProc";</literallayout>
</para>
<para>where:</para>
<itemizedlist>
<listitem>
<para>the <literal>name</literal> option starts with the string <literal>IMOUSE</literal> but is extended to form a unique string, such as <literal>IMOUSE2</literal> or <literal>IMOUSE3</literal>, depending on the number of
existing devices.</para>
</listitem>
<listitem>
<para>the <literal>dev</literal> option specifies the device name
that you identified in Step 3.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>Remove the following lines from the <filename>OWconfig</filename>
file:</para>
<para>
<literallayout># Null Mouse module
class="XINPUT" name="NMOUSE"
ddxHandler="ddxSUNWmouse.so.1"
ddxInitFunc="ddxnullmouseProc";</literallayout>
</para>
</listitem>
<listitem>
<para>Save the <filename>/usr/openwin/server/etc/OWconfig</filename>
file.</para>
</listitem>
<listitem>
<para>Restart the X Server. </para>
</listitem>
</orderedlist>
</sect2>
<sect2 id="sysadmin-46">
<title>To Configure Alternative Pointer Devices on Linux Systems</title>
<indexterm>
<primary>configuring two pointer devices</primary>
<secondary>on
Linux systems</secondary>
</indexterm>
<para>To configure an alternative pointer
device on a Linux system, perform the following steps:</para>
<orderedlist>
<listitem>
<para>Before you connect the alternative pointer device to your
system, enter the following command to list the existing devices:</para>
<para>
<command>ls -l /dev/usb/hid*</command>
</para>
</listitem>
<listitem>
<para>Connect the alternative pointer device to your system.</para>
</listitem>
<listitem>
<para>Enter the following command again to list the new device:</para>
<para>
<command>ls -l /dev/usb/hid*</command>
</para>
</listitem>
<listitem>
<para>Open the file <filename>/etc/X11/XF86Config</filename>.</para>
</listitem>
<listitem>
<para>Edit the <literal>InputDevice</literal> section where the <literal>Driver</literal> value is set to <literal>mouse</literal> as follows:</para>
<itemizedlist>
<listitem>
<para>Change the <literal>Option Device</literal> line to the following:</para>
<para>Create a new <literal>InputDevice</literal> line as follows:</para>
<para>
<literallayout>InputDevice "Mouse[3]"
</literallayout>
</para>
</listitem>
<listitem>
<para>Remove any occurrences of the attributes <literal>SendCore</literal> or <literal>AlwaysCore</literal> from any of <literal>InputDevice</literal> lines.</para>
</listitem>
</itemizedlist>
<note>
<para>Ensure that only the device that you are using as the primary
mouse device has the <literal>"CorePointer"</literal> attribute and ensure
that the alternate input devices do not have the <literal>SendCore</literal>
or <literal>AlwaysCore</literal> attributes.</para>
</note>
</listitem>
<listitem>
<para>Save the <filename>/etc/X11/XF86Config</filename> file.</para>
</listitem>
<listitem>
<para>Restart the X Server.</para>
</listitem>
</orderedlist>
</sect2>
<sect2 id="sysadmin-47">
<title>To Configure On-Screen Keyboard to Use an Alternative Pointer Device</title>
<indexterm>
<primary>On-Screen Keyboard</primary>
<secondary>configuring for
two pointer devices</secondary>
</indexterm>
<para>To configure the <application>On-Screen Keyboard</application> application to use an alternative pointer
device, perform the following steps.</para>
<orderedlist>
<listitem>
<para>Start the <application>On-Screen Keyboard</application> application.</para>
</listitem>
<listitem>
<para>Click on <guilabel>GOK</guilabel> in the <guilabel>GOK - main</guilabel> window.</para>
</listitem>
<listitem>
<para>Click on <guilabel>Preferences</guilabel> to open the <guilabel>Preferences</guilabel> dialog.</para>
</listitem>
<listitem>
<para>Click on the <guilabel>Actions</guilabel> tab.</para>
</listitem>
<listitem>
<para>In the <guilabel>Event Source</guilabel> options, select the <guilabel>Other input device</guilabel> option. <application>On-Screen Reader</application>
displays the name of the input device that you configured in the text box
next to the <guilabel>Other input device</guilabel> option.</para>
</listitem>
<listitem>
<para>Click <guibutton>OK</guibutton> to close the <guilabel>GOK