After much searching about pulse and alsa audio I am totally confused about how to change the audio volume in Kubuntu 18.04.01 from the terminal. Can anybody point me in the right direction please.
Announcement
Collapse
No announcement yet.
How to control system volume from terminal
Collapse
This topic is closed.
X
X
-
From Ask Ubuntu - it works well here.
Using pactl: you can set the volumes for a specific device as follows:
You can use percents or integers, but the integers are slow and may not be your thing. And if you have more than one audio card you'll have to figure out the # of the card you want to control if only one card is in the machine it should be 0.
pactl set-sink-volume 0 +10%
This makes the volume 10% up. If you want it 10% down:
pactl set-sink-volume 0 -10%
If you need the volume at 50%:
pactl set-sink-volume 0 50%
If you need to rock the entire place:
pactl set-sink-volume 0 150%
pactl/pacmd (unlike amixer) allows to increase volume over 100% :-).Last edited by kc1di; Sep 15, 2018, 08:20 AM.Dave Kubuntu 20.04 Registered Linux User #462608
Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385
- Top
- Bottom
-
Originally posted by shag00 View PostAs an aside I only have the built-in-to-the-cpu sound card but i need to specify card number 1.
Code:pactl set-sink-volume @DEFAULT_SINK@ +5%%
Regards, John Little
- Top
- Bottom
Comment
-
Glad it worked for you, EnjoyDave Kubuntu 20.04 Registered Linux User #462608
Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385
- Top
- Bottom
Comment
Comment