Translation(s): Deutsch - English - Español - Français - Italiano - Português (Brasil)


This article explains the Orca screen reader for graphical desktop environments such as GNOME, MATE and others. See also the official GNOME Orca documentation.

Setup

Debian installer

If you have enabled accessibility during the Debian installation and also installed a desktop system, accessibility is enabled by default and Orca was installed for you automatically. This only works for GNOME, Mate, Cinnamon and Unity at the moment, but can be activated manually. See the section on autostarting Orca.

Installation on an existing system

If you installed Debian without accessibility features, you should do the following steps:

  1. In a terminal, type sudo apt install orca, to install orca.

    • If you are using one of GNOME, Mate, Cinnamon or Unity, the next steps should not be required for you.
  2. In a graphical session, open a terminal or press Alt+F2 and type orca -s to start the setup. If you are unable to do so, it is best to enable the autostart of Orca and run the setup with Orca support with the command orca -r -s.

  3. In the following dialogs, you can select the options you like, including Orca modifier, etc. After this procedure, Orca should start automatically.

Autostart of Orca

GNOME

Orca can be configured to start automatically in the Gnome user session by hand by running these lines as a normal user:

eval $(dbus-launch); export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID
GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled true

MATE

Orca can be enabled to start automatically in the MATE user session by hand by running these lines as normal user:

eval $(dbus-launch); export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID
GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled true
GSETTINGS_BACKEND=dconf gsettings set org.mate.interface accessibility true
GSETTINGS_BACKEND=dconf gsettings set org.mate.applications-at-visual startup true

XFCE

The accessibility support for XFCE has to be enabled manually. This can be achieved either by clicking the "Enable assistive technologies" checkbox in the XFCE accessibility settings, or by running this command in an X session:

   xfconf-query -c xfce4-session -n -t bool -p /general/StartAssistiveTechnologies -s true

Alternatively you can put the following into $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="StartAssistiveTechnologies" type="bool" value="true"/>
  </property>
</channel>

The file might already exist. If you haven't configured XFCE yet, you can replace the content of this file with the above excerpt. Please note that this will drop your XFCE session configuration. If you don't want to lose your existing XFCE session parameters, just add another "general" property, it will look like this:

<channel name="xfce4-session" version="1.0">
  <property name="splash" type="empty">
    ...
  </property>
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="empty"/>
    <property name="StartAssistiveTechnologies" type="bool" value="true"/>
  </property>
  <property name="sessions" type="empty">
    <property name="Failsafe"
    ...
  </property>
</channel>

For now, orca will not autostart. The simple workaround is to just drop the "?OnlyShowIn" line in /etc/xdg/autostart/orca-autostart.desktop , or to add XFCE to it.

LXDE and LXQT

For now, orca does not start automatically. The simple workaround is to just drop the "?OnlyShowIn" line in /etc/xdg/autostart/orca-autostart.desktop. Alternatively, LXDE or LXQT can be added at the end of this line.

Magnification

Orca does not offer magnification itself, however a variety of solutions exist, which are documented here.

Voices

This section has been tested on a Debian trixie.

The default Orca settings has a not very natural voice. This section guides how to install other voices (using either "mbrola" or "festival" speech synthesizers).

1. Check settings. Using orca --setup or orca -s open the "Voice" tab.

2. Enable the contrib and non-free components.

Voices using mbrola speech synthesizer

Before following the next steps, make sure that you have enabled contrib and non-free components as described above.

1. Install the mbrola voices (it installs the required packages). To find mbrola voices:

2. Select the mbrola synthesizer and voice in Orca.

Voices using festival speech synthesizer

Before following the next steps, make sure that you have enabled contrib and non-free components as described above.

1. Install the "speech-dispatcher-festival" package, for example via:

2. It is also recommended to install extra festival voices. For example, to install a British English male voice:

3. For festival version < 1:2.5.0-13 (trixie or earlier): (not needed for festival version >= 1:2.5.0-13, included in forky): To test festival in orca: start the festival server, reload speech dispatcher and set it up in Orca.

Security warning: festival --server accepts connections from any local user. Connected clients can evaluate arbitrary Festival Lisp expressions, including (system ...), allowing execution of arbitrary shell commands with the privileges of the user running the server.

4. Make speech-dispatcher to find the festival voices:

5. For festival version < 1:2.5.0-13 (trixie or earlier) (not needed for festival version => 1:2.5.0-13 included in Debian forkie): If you want to use festival in orca without having to run festival --server everytime: you can run automatically via a systemctl user service. To do that, stop the previous festival server (via Control+C in the terminal) and follow the next steps to automatically start festival server when you login:

Browsing

Orca works on multiple browsers with a varying degree of support.

Other speech synthesizers

Orca does not itself interact with the speech synthesizer, but uses a backend service called speech-dispatcher to access various speech synthesizers. If you want to add or configure a synthesizer, please see the Speech-Dispatcher section of the general accessibility page.

Orca plugins

The package orca-sops provides a plugin system together with a selection of default plugins. It also contains a guide to help getting started with plugin development.

Newer versions of Orca

It is possible on Debian stable to use a newer version of orca, either via Backports or via unstable.

Via backports

Usually there are more recent versions of Orca backported for stable, but this is not always the case. The steps to install Orca from backports are the following:

1. Open /etc/apt/sources.list with administrator privileges and make sure that the following line is present (or add, if missing):

2. sudo apt update && sudo apt install orca/bullseye-backports

Via Unstable

If you don't want to compile Orca from source but still try a newer version (at your own risk), you can try using the version from unstable (or if available, from experimental). For this, you have to configure apt-pinning. Add a Debian unstable / experimental-source of Debian, update your package lists and run

sudo aptitude -t unstable install orca

WARNING: unstable and experimental don't have their names without reason!

See Also