Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux volume max or muted

Edit file in /usr/share/alsa-card-profile/mixer/paths/analog-output.conf.common
Add this line before the [Element PCM] block


[Element Master]
switch = mute
volume = ignore


and restart pipewire or pulseaudio

for pipewire:
systemctl --user restart pipewire.service 

for pulseaudio:
pulseaudio -k
pulseaudio --start
 
PREVIOUS NEXT
Tagged: #linux #volume #max #muted
ADD COMMENT
Topic
Name
6+9 =