LinuxCommandLibrary

pamixer

pamixer

TLDR

List all sinks and sources with their corresponding IDs

$ pamixer --list-sinks --list-sources
copy


Set the volume to 75% on the default sink
$ pamixer --set-volume [75]
copy


Toggle mute on a sink other than the default
$ pamixer --toggle-mute --sink [ID]
copy


Increase the volume on default sink by 5%
$ pamixer --increase [5]
copy


Decrease the volume on a source by 5%
$ pamixer --decrease [5] --source [ID]
copy


Use the allow boost option to increase, decrease, or set the volume above 100%
$ pamixer --set-volume [105] --allow-boost
copy


Mute the default sink (use --unmute instead to unmute)
$ pamixer --mute
copy

Copied to clipboard