Posts

Showing posts with the label Pipewire-Pulse

How to check & adjust sound volume from the command line with pipewire-pulse?

Question about checking and adjusting sound volume from the command line with PipeWire and PulseAudio. To manipulate the sound volume using the command line in a PipeWire or PulseAudio environment, you can use command-line tools such as `pactl` or `pamixer`. Here's how you can do it: 1. **Using `pactl`**:    - To increase the volume:      ```bash      pactl set-sink-volume @DEFAULT_SINK@ +5%      ```      This command increases the volume by 5%. You can adjust the percentage as needed.    - To decrease the volume:      ```bash      pactl set-sink-volume @DEFAULT_SINK@ -5%      ```    - To set a specific volume level (e.g., 50%):      ```bash      pactl set-sink-volume @DEFAULT_SINK@ 50%      ``` 2. **Using `pamixer`**:    - `pamixer` is a dedicated command-line volume control tool for PulseAudio and PipeWire. To adjust the volume, you can use it like this:      - Increase the volume:        ```bash        pamixer --increase 5        ```      - Decrease the volume:        ```bash