S
S
sergeyfk2016-11-15 19:57:46
linux
sergeyfk, 2016-11-15 19:57:46

How to change volume via terminal in ubuntu over 100%?

I'm trying to increase the volume with the command in the terminal:
amixer -D pulse sset Master 140%
, but it only increases to 100%, although I can increase it to 150% from the keyboard. Increase up to 150% unlocked. This must be done through the terminal, well, or with a python script.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2016-11-15
@sergeyfk

LANG=C pactl info | grep 'Default Sink' | awk '{print $3}'

We get information about PulseAudio in English, look for the line with the default output device, take the third word from there, this is its name.
We pass the received name to the volume change command. Note that the first call to 140% will only raise it to 100%, and the second one to 140%.
But in general:
man pactl

S
sergeyfk, 2016-11-15
@sergeyfk

if you write a number above 100, then just increase the volume to 100%

E
eret, 2020-07-11
@eret

ubuntu 20.04 Nazar Mokrinsky Nazar Mokrinsky wrote correctly, raised up to 250%, did not check further, it depends on the overload capacity of the iron on the mother ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question