Java Desktop System Release 3 Accessibility Guide

A.6.2 To Configure Alternative Pointer Devices on Linux Systems

To configure an alternative pointer device on a Linux system, perform the following steps:

  1. Before you connect the alternative pointer device to your system, enter the following command to list the existing devices:

    ls -l /dev/usb/hid*

  2. Connect the alternative pointer device to your system.

  3. Enter the following command again to list the new device:

    ls -l /dev/usb/hid*

  4. Open the file /etc/X11/XF86Config.

  5. Edit the InputDevice section where the Driver value is set to mouse as follows:

    • Change the Option Device line to the following:

      Option       "Device" "/dev/input/mouse0"

    • Comment out the Option Protocol line as follows:

      #Option       "Protocol" "explorerps/2"


    Note –

    If you are not using USB connections for your primary mouse device and other pointer device, you do not need to carry out this step.


  6. Create a new InputDevice section as follows:

    Section "InputDevice"
         Driver       "mouse"
         Identifier   "Mouse[3]"
         Option       "Device" "/dev/input/mouse1"
         Option       "Name" "Autodetection"
         Option       "Vendor" "Sysp"
       EndSection


    Note –

    If you are not using USB connections for your primary mouse device and other pointer device, you do not need to carry out this step.


  7. Edit the ServerLayout section as follows:

    • Change the InputDevice "Mouse[1]" line to the following:

      InputDevice  "Mouse[1]" "CorePointer"

    • Create a new InputDevice line as follows:

      InputDevice  "Mouse[3]"

    • Remove any occurrences of the attributes SendCore or AlwaysCore from any of InputDevice lines.


    Note –

    Ensure that only the device that you are using as the primary mouse device has the "CorePointer" attribute and ensure that the alternate input devices do not have the SendCore or AlwaysCore attributes.


  8. Save the /etc/X11/XF86Config file.

  9. Restart the X Server.