LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pulseaudio-ctl

Simple PulseAudio volume control commands

TLDR

Raise the volume by the default 5% step
$ pulseaudio-ctl up
copy
Raise it by a chosen amount
$ pulseaudio-ctl up [10]
copy
Lower it by the default step
$ pulseaudio-ctl down
copy
Lower it by a chosen amount
$ pulseaudio-ctl down [10]
copy
Jump to an exact level
$ pulseaudio-ctl set [50]
copy
Cap the volume, lowering it only when it is above the limit
$ pulseaudio-ctl atmost [80]
copy
Toggle output mute
$ pulseaudio-ctl mute
copy
Toggle the microphone instead of the speakers
$ pulseaudio-ctl mute-input
copy
Print the volume and mute state together
$ pulseaudio-ctl full-status
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

INSTALL

sudo apk add pulseaudio-ctl
copy
nix profile install nixpkgs#pulseaudio-ctl
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid