HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pamixer — A simple command-line mixer for PulseAudio. More information: <https://github.com/cdemoulins/pamixer

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simplecommandpamixerclimixerforline

Problem

How to use the pamixer command: A simple command-line mixer for PulseAudio. More information: <https://github.com/cdemoulins/pamixer#installation>.

Solution

pamixer — A simple command-line mixer for PulseAudio. More information: <https://github.com/cdemoulins/pamixer#installation>.

List all sinks and sources with their corresponding IDs:
pamixer --list-sinks --list-sources


Set the volume to 75% on the default sink:
pamixer --set-volume {{75}}


Toggle mute on a sink other than the default:
pamixer --toggle-mute --sink {{ID}}


Increase the volume on default sink by 5%:
pamixer {{[-i|--increase]}} {{5}}


Decrease the volume on a source by 5%:
pamixer {{[-d|--decrease]}} {{5}} --source {{ID}}


Use the allow boost option to increase, decrease, or set the volume above 100%:
pamixer --set-volume {{105}} --allow-boost


Mute the default sink (use --unmute instead to unmute):
pamixer {{[-m|--mute]}}

Code Snippets

List all sinks and sources with their corresponding IDs

pamixer --list-sinks --list-sources

Set the volume to 75% on the default sink

pamixer --set-volume {{75}}

Toggle mute on a sink other than the default

pamixer --toggle-mute --sink {{ID}}

Increase the volume on default sink by 5%

pamixer {{[-i|--increase]}} {{5}}

Decrease the volume on a source by 5%

pamixer {{[-d|--decrease]}} {{5}} --source {{ID}}

Context

tldr-pages: common/pamixer

Revisions (0)

No revisions yet.