LinuxCommandLibrary

pulseaudio-ctl

Simple PulseAudio volume control commands

TLDR

Increase volume by 5%

$ pulseaudio-ctl up
copy
Increase volume by a specific amount
$ pulseaudio-ctl up 10
copy
Decrease volume by 5%
$ pulseaudio-ctl down
copy
Set volume to a specific percentage
$ pulseaudio-ctl set 50
copy
Set volume if current is higher than provided value
$ pulseaudio-ctl atmost 80
copy
Toggle mute
$ pulseaudio-ctl mute
copy
Toggle microphone mute
$ pulseaudio-ctl mute-input
copy

SYNOPSIS

pulseaudio-ctl command [amount]

DESCRIPTION

pulseaudio-ctl provides simple commands for controlling PulseAudio volume levels. It offers intuitive commands for increasing, decreasing, and setting volume, as well as muting speakers and microphone.
This tool is designed for easy integration with keyboard shortcuts and desktop environments.

PARAMETERS

up [amount]

Increase volume (default 5%)
down [amount]
Decrease volume (default 5%)
set percentage
Set volume to specific percentage
atmost percentage
Set volume if current is higher
mute
Toggle speaker mute
mute-input
Toggle microphone mute

CAVEATS

Requires PulseAudio to be running. May not work with PipeWire unless PulseAudio compatibility layer is enabled.

HISTORY

Developed as a lightweight shell script for easy PulseAudio volume control, commonly used with window managers and keyboard shortcut daemons.

SEE ALSO

pactl(1), pamixer(1), amixer(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community