Files
cheatsheet-tldr/tldr/pamixer
2025-04-26 00:18:47 +00:00

38 lines
883 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`