# Disable speech-dispatcher on Debian 12

*2025-05-21*

> Prevent speech-dispatcher from starting on demand on Debian 12 with DisableAutoSpawn to address high PulseAudio CPU usage.

I'm running [Debian](https://www.debian.org/) 12 "Bookworm" on a [HP ProBook x360 G1 EE](https://support.hp.com/bg-en/product/product-specs/hp-probook-x360-11-g5-ee-notebook-pc/30734495). This _"beast"_ is serving as a Jenkins node running an automated test suite on attached Android devices for [GSM Signal Monitor](https://getsignal.app/). It also runs [xRDP](https://www.xrdp.org/) and [XFCE](https://www.xfce.org/) as the desktop environment. I'm remoting into the machine from time to time for device management and configuration using [scrcpy](https://github.com/Genymobile/scrcpy).

One thing I noticed when running htop and using Firefox to visit sites such as [stackoverflow.com](https://stackoverflow.com/) was the abnormal CPU utilization by PulseAudio.

After a bit of [research](https://bbs.archlinux.org/viewtopic.php?id=222857), the issue was pinpointed to speech dispatcher auto spawning on demand when called by certain applications.

I don't use speech synthesis or software synthesizers on this machine _(or anywhere, to be fair)_ and would rather waste CPU cycles on something more useful - such as running complete regression test suites against [GSM Signal Monitor](https://play.google.com/store/apps/details?id=paskov.biz.noservice&utm_source=pblog) when a build is merged into the dev branch, or pre-release testing on 24 devices attached to the little beast.

To prevent speech-dispatcher from auto-spawning on demand, open a terminal and run:

```sh
sudo nano /etc/speech-dispatcher/speechd.conf

```

Locate the _"DisableAutoSpawn"_ option near the bottom of the file and uncomment it. Save the file and restart speech-dispatcher.

```sh
sudo systemctl restart speech-dispatcher

```

Optionally restart Firefox if it's running.

Now speech-dispatcher should no longer spawn on demand by applications. You can verify that by navigating to a topic on Stack Overflow, for example.

[![speech-dispatcher disabled, firefox complaining ](/wp-content/uploads/2025/05/Screenshot_2025-05-21_13-05-58.png)](/wp-content/uploads/2025/05/Screenshot_2025-05-21_13-05-58.png)

Firefox should complain that it can't use speech synthesis.

