Search code examples
volumealsapulseaudioamixer

using amixer to set audio makes left and right unbalanced


I am using a Logitech keyboard which has a scroll-bar to set volume, which allow for some nifty macros on Linux. However, using it to set volume with amixer -q set Master -D pulse 1%+ makes the left/right channels unbalanced.

The image show the left/right channels after being locked, changed volume up and down and then unlocked, to check the individual volumes. Any suggestions as to why this happens and how it can be corrected, as I assume I am doing something wrong.

enter image description here

for another controller

enter image description here

So it happens to all types of sinks


Solution

  • I finally found a solution that works. Using pactl works wonders!

    pactl set-sink-volume 0 {+1%, -1%}