🔍 See Original Answer on Ask Ubuntu 🔗
How to mute volume on every boot in Kubuntu 18.04?
October 20, 2018
Edited: October 21, 2018
November 24, 2022
Copy to clipboard: false
This answer from stack exchange should do the trick: Set Ubuntu Sound Volume on boot
From the question you want to use this command:
`/usr/bin/amixer -c 0 sset Master,0 0% > /dev/null`
From the answer you want to add the command in:
Insert the command after the first line and before the last line:
#!/bin/sh # <---- This is the first line `/usr/bin/amixer -c 0 sset Master,0 0% > /dev/null` exit 0 # <---- This is the last line
In my Ubuntu 16.04 LTS sound is already muted on boot. This happens to others as well: How to make my microphone unmuted on startup?
Check the file
/etc/modprobe.d/alsa-base.conf and look for the line:
options snd-hda-intel model=auto enable=yes
If it exists either delete it or put
# in the first character position.