Chapter 11. Configuring a System for Accessibility
- a speech synthesizer, which provides a speech output
- a braille display, which provides a tactile output
- configure the
brlttyservice, as described in Section 11.1, “Configuring thebrlttyService” - switch on the Always Show Universal Access Menu, as described in Section 11.2, “Switch On Always Show Universal Access Menu”
- enable the Festival speech synthesizer, as described in Section 11.3, “Enabling the Festival Speech Synthesis System”
11.1. Configuring the brltty Service
brltty service to provide tactile output for visually impaired users.
Enable the brltty Service
brltty is running. By default, brltty is disabled. Enable brltty to be started on boot:
~]# systemctl enable brltty.serviceAuthorize Users to Use the Braille Display
/etc/brltty.conf file is suitable even for the file systems where users or groups cannot be assigned to a file. The procedure using the /etc/brlapi.key file is suitable only for the file systems where users or groups can be assigned to a file.
Procedure 11.1. Setting Access to Braille Display by Using /etc/brltty.conf
- Open the
/etc/brltty.conffile, and find the section called Application Programming Interface Parameters. - Specify the users.
- To specify one or more individual users, list the users on the following line:
api-parameters Auth=user:
user_1, user_2, ...# Allow some local user - To specify a user group, enter its name on the following line:
api-parameters Auth=group:
group# Allow some local group
Procedure 11.2. Setting Access to Braille Display by Using /etc/brlapi.key
- Create the
/etc/brlapi.keyfile.~]# mcookie > /etc/brlapi.key - Change ownership of the
/etc/brlapi.keyto particular user or group.- To specify an individual user:
~]# chownuser_1/etc/brlapi.key - To specify a group:
~]# chowngroup_1/etc/brlapi.key
- Adjust the content of
/etc/brltty.confto include this:api-parameters Auth=keyfile:
/etc/brlapi.key
Set the Braille Driver
braille-driver directive in /etc/brltty.conf specifies a two-letter driver identification code of the driver for the braille display.
Procedure 11.3. Setting the Braille Driver
- Decide whether you want to use the autodetection for finding the appropriate braille driver.
- If you want to use autodetection, leave
braille driverspecified toauto, which is the default option.braille-driver
auto# autodetectWarning
Autodetection tries all drivers. Therefore, it might take a long time or even fail. For this reason, setting up a particular braille driver is recommended. - If you do not want to use the autodetection, specify the identification code of the required braille driver in the
braille-driverdirective.Choose the identification code of required braille driver from the list provided in/etc/brltty.conf, for example:braille-driver
xw# XWindowYou can also set multiple drivers, separated by commas, and autodetection is then performed among them.
Set the Braille Device
braille-device directive in /etc/brltty.conf specifies the device to which the braille display is connected. The following device types are supported (see Table 11.1, “Braille Device Types and the Corresponding Syntax”):
Table 11.1. Braille Device Types and the Corresponding Syntax
braille-deviceserial:ttyS0# First serial device braille-deviceusb:# First USB device matching braille driver braille-deviceusb:nnnnn# Specific USB device by serial number braille-devicebluetooth:xx:xx:xx:xx:xx:xx# Specific Bluetooth device by address
Warning
braille-device to usb: does not work. In this case, identify the virtual serial device that the kernel has created for the adapter. The virtual serial device can look like this: serial:ttyUSB0You can find the actual device name in the kernel messages on the device plug with the following command:
~]# dmesg | fgrep ttyUSB0
Set Specific Parameters for Particular Braille Displays
braille-parameters directive in /etc/brltty.conf. The braille-parameters directive passes non-generic parameters through to the braille driver. Choose the required parameters from the list in /etc/brltty.conf.
Set the Text Table
text-table directive in /etc/brltty.conf specifies which text table is used to encode the symbols. Relative paths to text tables are in the /etc/brltty/Text/ directory.
Procedure 11.4. Setting the Text Table
- Decide whether you want to use the autoselection for finding the appropriate text table.
- If you want to use the autoselection, leave
text-tablespecified toauto, which is the default option.text-table
auto# locale-based autoselectionThis ensures that local-based autoselection with fallback toen-nabccis performed. - If you do not want to use the autoselection, choose the required
text-tablefrom the list in/etc/brltty.conf.For example, to use the text table for American English:text-table
en_US# English (United States)
Set the Contraction Table
contraction-table directive in /etc/brltty.conf specifies which table is used to encode the abbreviations. Relative paths to particular contraction tables are in the /etc/brltty/Contraction/ directory.
contraction-table from the list in /etc/brltty.conf.
contraction-table en-us-g2 # English (US, grade 2)Warning

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.