The GNOME Audio Integration Daemon
In Ubuntu desktop environments, the GNOME Settings Daemon acts as the central hub for managing user session configurations. One of its specific plugins is gsd-sound. This background service is responsible for handling desktop audio integration. It manages the volume media keys on your keyboard, plays the little alert “bloop” sounds when an error occurs or a dialog box pops up, and handles the logic for switching between audio input and output devices when you plug in a headset or a microphone while in a GNOME session.
While this daemon is obviously necessary for a standard desktop user who listens to music or relies on keyboard volume controls, it is entirely redundant on headless servers or specialized virtual machines that do not have physical sound cards or speakers attached. If you are running a graphical Ubuntu VM purely for software testing or compiling code, gsd-sound will needlessly load into memory and occasionally generate silent errors in your system logs as it searches for nonexistent PulseAudio or PipeWire audio sinks. You can safely disable it on systems where audio is irrelevant.
How to Disable the Gsd-sound Service
Because gsd-sound is a plugin spawned by the GNOME Settings Daemon upon user login, it is not a standalone systemd service that can simply be stopped with systemctl. You must remove its ability to execute.
- Open your Ubuntu Terminal.
- To disable the sound management plugin, strip its execute permissions by running:
sudo chmod -x /usr/libexec/gsd-sound
(Note: Depending on your Ubuntu release, you might need to target /usr/lib/gnome-settings-daemon/gsd-sound instead).
- Log out of your current GNOME session and log back in (or simply restart the machine) for the changes to take effect.
GNOME will no longer load the audio management plugin, saving a small amount of RAM and stopping it from polling for missing audio hardware.