Edit: I've created a small setup script that creates all the three files and puts them in the right places. Just download the script and execute it in a terminal: sh pulseaudio-equalizer-setup.sh
If you only need/want the sound equalizer running while the equalizer GUI is open, I created a minimal working solution with these files:
~/.config/pulse/default.pa
— make the dbus-protocol module load by default
.include /etc/pulse/default.pa
# Needed by module-equalizer-sink.
load-module module-dbus-protocol
~/.local/bin/equalizer
— must be made executable
#!/bin/sh
pactl load-module module-equalizer-sink
pactl set-default-sink "$(pactl list sinks short | awk '/equalizer/ { print $2 }')"
qpaeq
pactl unload-module module-equalizer-sink
~/.local/share/applications/equalizer.desktop
— create icon in applications menu
[Desktop Entry]
Name=PulseAudio Equalizer
GenericName=Sound Equalizer
Type=Application
Terminal=false
Exec=equalizer
TryExec=qpaeq
StartupWMClass=qpaeq
Icon=audio-headphones
Categories=Qt;AudioVideo;
Note 1: Make sure that ~/.local/bin
is in your PATH
. Otherwise, either move the executable file to a directory that is in PATH
(e.g. /usr/local/bin
) or substitute the command in the Exec=
entry by an absolute path to the script.
Note 2: To run the application immediately after installing the files to the correct places, run this command before:
$ pactl load-module module-dbus-protocol
Tip: If you resize the equalizer's window, widening it, more controls appear for narrower audio frequency bands, allowing fine-grain tuning.